Browse Source

chore: 多build一个css

master
iapyang 4 years ago
parent
commit
48073e3e7f
  1. 2
      lib/postbuild/postbuild.js
  2. 1
      webpack/webpack.prod.js

2
lib/postbuild/postbuild.js

@ -18,6 +18,8 @@ const deleteList = [
"2.0/fineui.ie.min.css", "2.0/fineui.ie.min.css",
"2.0/fineui_without_normalize.js", "2.0/fineui_without_normalize.js",
"2.0/fineui_without_normalize.js.map", "2.0/fineui_without_normalize.js.map",
"2.0/fineui_without_normalize.min.js",
"2.0/fineui_without_normalize.min.js.map",
]; ];
deleteList.forEach(filename => { deleteList.forEach(filename => {

1
webpack/webpack.prod.js

@ -26,6 +26,7 @@ module.exports = merge.smart(common, {
"2.0/fineui": attachments.bundle, "2.0/fineui": attachments.bundle,
"2.0/fineui.min": attachments.bundle, "2.0/fineui.min": attachments.bundle,
'2.0/fineui_without_normalize': attachments.bundleWithoutNormalize, '2.0/fineui_without_normalize': attachments.bundleWithoutNormalize,
'2.0/fineui_without_normalize.min': attachments.bundleWithoutNormalize,
}, },
optimization: { optimization: {
minimizer: [ minimizer: [

Loading…
Cancel
Save