just-boris / less-plugin-glob

Globbing support for LESS
MIT License
70 stars 12 forks source link

make compatible with grunt-contrib-less #3

Closed vospascal closed 9 years ago

vospascal commented 9 years ago

just-boris i use grunt-contrib-less they have a example how to load plugin's like this:

plugins: [ new (require('less-plugin-autoprefix'))({browsers: ["last 2 versions"]}), new (require('less-plugin-clean-css'))(cleanCssOptions) ],

How would i load your wonderfull plugin in here so that it works with grunt-contrib-less?

just-boris commented 9 years ago

You can use my plugin like so:

plugins: [
require('less-plugin-glob')
],

That's why it does't have any options. So I looked on less-plugin-inline-urls when was writing this one.