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.
20 lines
425 B
20 lines
425 B
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", |
|
}, |
|
});
|
|
|