1.0.1 • Published 6 years ago
webpack-bundle-less-plugin v1.0.1
webpack-bundle-less-plugin
Bundle less file and output to html file
Getting Started
npm install webpack-bundle-less-pluginwebpack.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