snowpack-plugin-less
v1.0.7
Published
Use the Less compiler to build .less files from source
Downloads
1,316
Maintainers
Readme
snowpack-plugin-less
Use the Less compiler to build .less
files from source
Usage
Install
npm install --save-dev snowpack-plugin-less
Config
add this plugin to your Snowpack config:
snowpack.config.json
{
"plugins": [
"snowpack-plugin-less"
]
}
Use Custom Less Compile Options
snowpack.config.js
const path = require("path");
module.exports = {
// ...another config
"plugins": [
[
"snowpack-plugin-less",
{ /* less render options */ }
]
]
}