1.0.1 • Published 3 years ago
snowpack-less-plugin v1.0.1
snowpack-less-plugin
This plugin adds Less support to any Snowpack project. With this plugin, you can import any *.less
Less file from JavaScript and have it compile to CSS.
This plugin was designed to work with the less
package. less
is automatically installed with this plugin as a direct dependency, so no extra effort is required on your part.
Usage
npm i snowpack-less-plugin
Then add the plugin to your Snowpack config:
// snowpack.config.js
module.exports = {
plugins: [
[
'snowpack-less-plugin',
{
/* see options below */
},
],
],
};
Plugin Options
...coming soon.
1.0.1
3 years ago