1.3.0 • Published 8 years ago

less-plugin-alternative-imports v1.3.0

Weekly downloads
273
License
-
Repository
github
Last release
8 years ago

NPM version

less-plugin-alternative-imports

Load an alternative less file in imports statements when compiling

lessc usage

npm install -g less-plugin-alternative-imports

and then on the command line,

lessc --plugin=less-plugin-alternative-imports="foo:bar"

This will replace any 'foo' match with 'bar' in all import statements, so an import like '@import "variables_foo.less"' will be replaced by '@import "variables_bar.less"'

Programmatic usage

Programmatic usage is not supported at this time.

Browser usage

Browser usage is not supported at this time.

django-compressor bonus tip

This gist https://gist.github.com/danipv/ac667061a4897d567e5b helps you for use with django-compressor.