Note: This page covers Parcel 1, the documentation for Parcel 2 is being worked on here:


Supported extensions: styl

It's not even necessary to install Stylus 😱, parcel will automatically install Stylus if it detects a Stylus file.

You can import Stylus files from JavaScript or html files.

import './custom.styl'


<link href="./custom.styl" rel="stylesheet">

Help us improve the docs

If something is missing or not entirely clear, please file an issue on the website repository or edit this page.