Browse Source

chore: 多打包一下fineui

es6
iapyang 4 years ago
parent
commit
1dc3c25ffc
  1. 2
      webpack/webpack.common.js
  2. 2
      webpack/webpack.dev.js
  3. 1
      webpack/webpack.prod.js

2
webpack/webpack.common.js

@ -9,6 +9,8 @@ const attachments = require("./attachments");
module.exports = {
entry: {
demo: attachments.demo,
// 用于启动dev模式时,工程引用调试
fineui: attachments.fineui,
},
externals: {
lodash: '_',

2
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",

1
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,

Loading…
Cancel
Save