@ -9,6 +9,8 @@ const attachments = require("./attachments");
module.exports = {
entry: {
demo: attachments.demo,
// 用于启动dev模式时,工程引用调试
fineui: attachments.fineui,
},
externals: {
lodash: '_',
@ -10,7 +10,7 @@ const dirs = require("./dirs");
const common = require("./webpack.common.js");
module.exports = merge(common, {
devtool: "eval-source-map",
devtool: "source-map",
output: {
path: dirs.DEST,
filename: "[name].js",
@ -15,7 +15,6 @@ module.exports = merge.smart(common, {
mode: "production",
font: attachments.font,
"fineui.min": attachments.fineui,
"fineui.ie.min": attachments.fineuiIE,
utils: attachments.utils,