forked from fanruan/fineui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
421 B
21 lines
421 B
3 years ago
|
const merge = require("webpack-merge");
|
||
|
|
||
|
const dirs = require("./dirs");
|
||
|
|
||
|
const common = require("./webpack.prod.js");
|
||
|
common.entry = {};
|
||
|
|
||
|
const attachments = require("./attachments");
|
||
|
|
||
|
module.exports = merge.smart(common, {
|
||
|
mode: "production",
|
||
|
entry: {
|
||
|
[`2.0/${process.env.LESS_FILE_NAME}`]: attachments.bundleCss,
|
||
|
},
|
||
|
|
||
|
output: {
|
||
|
path: dirs.DEST,
|
||
|
filename: "[name].js",
|
||
|
},
|
||
|
});
|