fineui是帆软报表和BI产品线所使用的前端框架。
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.
|
|
|
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}.min`]: attachments.bundleCss,
|
|
|
|
},
|
|
|
|
|
|
|
|
output: {
|
|
|
|
path: dirs.DEST,
|
|
|
|
filename: "[name].js",
|
|
|
|
},
|
|
|
|
});
|