From 1dc3c25ffc7575a693e9f78ab5aa13ce7e34afcf Mon Sep 17 00:00:00 2001 From: iapyang Date: Fri, 3 Jul 2020 13:46:44 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=A4=9A=E6=89=93=E5=8C=85=E4=B8=80?= =?UTF-8?q?=E4=B8=8Bfineui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webpack/webpack.common.js | 2 ++ webpack/webpack.dev.js | 2 +- webpack/webpack.prod.js | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js index c07421c1e..d3cac877d 100644 --- a/webpack/webpack.common.js +++ b/webpack/webpack.common.js @@ -9,6 +9,8 @@ const attachments = require("./attachments"); module.exports = { entry: { demo: attachments.demo, + // 用于启动dev模式时,工程引用调试 + fineui: attachments.fineui, }, externals: { lodash: '_', diff --git a/webpack/webpack.dev.js b/webpack/webpack.dev.js index 55032947b..48bcccbd6 100644 --- a/webpack/webpack.dev.js +++ b/webpack/webpack.dev.js @@ -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", diff --git a/webpack/webpack.prod.js b/webpack/webpack.prod.js index ac6b86eae..86ca367d5 100644 --- a/webpack/webpack.prod.js +++ b/webpack/webpack.prod.js @@ -15,7 +15,6 @@ module.exports = merge.smart(common, { mode: "production", entry: { font: attachments.font, - fineui: attachments.fineui, "fineui.min": attachments.fineui, "fineui.ie.min": attachments.fineuiIE, utils: attachments.utils,