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


Supported extensions: less

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

You can import LESS files from JavaScript or html files.

import './custom.less'


<link href="./custom.less" 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.