webmake-less

0.2.0 • Public • Published

webmake-less

Require LESS files with Webmake

To use this extension, install it aside of Webmake:

$ npm install webmake-less

If you use global installation of Webmake, then extension also needs to be installed globally:

$ npm install -g webmake-less

When running Webmake, ask webmake to use it:

$ webmake --ext=less program.js bundle.js

Same way when Webmake is used programmatically:

webmake(inputPath, { ext: 'less' }, cb);

webmake-less can be used with any other Webmake extension, e.g.:

$ webmake --ext=less --ext=otherext program.js bundle.js

Programmatically:

require('./path/to/lessfile'); // injects the resulting CSS automatically into the current page

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i webmake-less

Weekly Downloads

2

Version

0.2.0

License

MIT

Last publish

Collaborators

  • acdaniel