PawJS - LESS
@pawjs/less
Add LESS support to your current application
This plugin adds less
& less-loader
to current webpack configuration for less
Installation
npm i @pawjs/less --save
webpack.js
Edit/Create /src/webpack.js
import LessPlugin from "@pawjs/less/webpack";
// ... other imports if any
export default class ProjectWebpack {
constructor({addPlugin}) {
const options = {};
// const options = {
// modifyVars: {},
// javascriptEnabled: false,
// };
addPlugin(new LessPlugin(options));
// ...
}
}
License
This project is licensed under the MIT license, Copyright (c) 2018 Atyantik Technologies Private Limited. For more information see LICENSE.md.