Package Exports
- less-plugin-autoprefix
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-plugin-autoprefix) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
less-plugin-autoprefix
Uses autoprefixer to add prefixes to css after conversion from less.
lessc usage
Install..
npm install -g less-plugin-autoprefix
and then on the command line,
lessc file.less --autoprefix="browsers"
The browsers are a comma seperated list of browsers as specified with autoprefixer.
Programmatic usage
var LessPluginAutoPrefix = require('less-plugin-autoprefix'),
autoprefixPlugin = new LessPluginAutoPrefix({browsers: ["last 2 versions"]});
less.render(lessString, { plugins: [autoprefixPlugin] })
.then(
Browser usage
Browser usage is not supported at this time.