JSPM

  • Created
  • Published
  • Downloads 5950589
  • Score
    100M100P100Q247950F

less loader module for webpack

Package Exports

  • less-loader

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (less-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

less loader for webpack

Usage

var css = require("less!./file.less");
// => returns compiled css code from file.less, resolves imports

Don't forget to polyfill require if you want to use it in node. See webpack documentation.

License

MIT (http://www.opensource.org/licenses/mit-license.php)