Skip to content

fansenze/snowpack-plugin-less

Repository files navigation

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 */ }
    ]
  ]
}

About

Use the Less compiler to build .less files from source

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •