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