jian
1 year ago
2 changed files with 26 additions and 29 deletions
@ -1,24 +1,25 @@ |
|||||||
const common = require("./webpack.common.js"); |
const common = require("./webpack.common.js"); |
||||||
const { merge } = require("webpack-merge"); |
const { merge } = require("webpack-merge"); |
||||||
const dirs = require("./dirs"); |
const dirs = require("./dirs"); |
||||||
const attachments = require("./attachments"); |
const attachments = require("./attachments"); |
||||||
|
|
||||||
module.exports = merge(common, { |
module.exports = merge(common, { |
||||||
mode: "production", |
mode: "production", |
||||||
target: ["web", "es5"], |
target: ["web", "es5"], |
||||||
|
|
||||||
entry: { |
entry: { |
||||||
"fineui.min": attachments.fineui, |
"fineui.min": attachments.fineui, |
||||||
"fineui.worker.min": attachments.fineuiForWorker, |
"fineui.worker.min": attachments.fineuiForWorker, |
||||||
"fineui.worker": attachments.fineuiForWorker, |
"fineui.worker": attachments.fineuiForWorker, |
||||||
"fineui_without_jquery_polyfill.min": attachments.fineuiForV8Export, |
"fineui_without_jquery_polyfill.min": attachments.fineuiForWorker, |
||||||
}, |
"fineui_without_jquery_polyfill": attachments.fineuiForWorker, |
||||||
|
}, |
||||||
output: { |
|
||||||
path: dirs.DEST, |
output: { |
||||||
filename: "[name].js", |
path: dirs.DEST, |
||||||
publicPath: "" |
filename: "[name].js", |
||||||
}, |
publicPath: "" |
||||||
|
}, |
||||||
devtool: "hidden-source-map" |
|
||||||
}); |
devtool: "hidden-source-map" |
||||||
|
}); |
||||||
|
Loading…
Reference in new issue