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.
23 lines
642 B
23 lines
642 B
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, |
|
}, |
|
|
|
output: { |
|
path: dirs.DEST, |
|
filename: "[name].js" |
|
}, |
|
|
|
devtool: "hidden-source-map" |
|
});
|
|
|