brunch / less-brunch

Adds LESS support to Brunch
14 stars 18 forks source link

Add support for plugins #24

Closed YoussefKababe closed 8 years ago

YoussefKababe commented 8 years ago

Add the ability to use Less plugins from brunch-config.js:

var LessPluginCleanCSS = require('less-plugin-clean-css');
var cleanCSSPlugin = new LessPluginCleanCSS({advanced: true});

...

plugins: {
  less: {
    plugins: [cleanCSSPlugin]
  }
}