webpack-bundle-less-plugin
v1.0.1
Published
Bundle less file and output to html file
Downloads
2
Readme
webpack-bundle-less-plugin
Bundle less file and output to html file
Getting Started
npm install webpack-bundle-less-plugin
webpack.config.js
const WebpackBundleLessPlugin = require("webpack-bundle-less-plugin");
moduel.exports = {
plugin: [
new WebpackBundleLessPlugin({
source: path.resolve(process.cwd(), "/node_modules/antd/dist/antd.less")
})
]
};
options
source
: the less file absolute pathindexFileName
: HtmlWebpackPlugin.fileNamelessUrl
: less.js cdn url