Browse Source

Pull request #2394: wuJIAR任务 chore: 打包

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit 'cea1a3368151267ba1b08f02977b77e2a0483233':
  chore: 打包
  chore: 打包
es6
guy 3 years ago
parent
commit
7267a15f73
  1. 1
      webpack/attachments.js
  2. 2
      webpack/components.js
  3. 5
      webpack/webpack.prod.js

1
webpack/attachments.js

@ -42,6 +42,7 @@ const basicAttachmentMap = {
"src/router/**/*.js",
]),
core_without_platform: sync([
"src/core/0.foundation.js",
lodashJs,
"src/core/**/*.js",
"src/data/**/*.js",

2
webpack/components.js

@ -34,7 +34,7 @@ module.exports = {
calendar: basicAttachmentMap.calendar,
color_chooser: basicAttachmentMap.color_chooser,
segment: basicAttachmentMap.segment,
line_segment: basicAttachmentMap.line_segment,
linear_segment: basicAttachmentMap.linear_segment,
date: basicAttachmentMap.date,
down_list: basicAttachmentMap.down_list,
text_value_down_list_combo: basicAttachmentMap.text_value_down_list_combo

5
webpack/webpack.prod.js

@ -33,7 +33,6 @@ module.exports = merge.smart(common, {
"2.0/core_without_platform.min": attachments.coreWithoutPlatform,
core: attachments.coreJs,
resource: attachments.resource,
// 组件库独立组件
"components/single": components.single,
"components/button_group": components.button_group,
"components/buttons": components.buttons,
@ -43,10 +42,10 @@ module.exports = merge.smart(common, {
"components/calendar": components.calendar,
"components/color_chooser": components.color_chooser,
"components/segment": components.segment,
"components/line_segment": components.line_segment,
"components/linear_segment": components.linear_segment,
"components/date": components.date,
"components/down_list": components.down_list,
"components/text_value_down_list_combo": components.text_value_down_list_combo
"components/text_value_down_list_combo": components.text_value_down_list_combo,
},
optimization: {
minimizer: [

Loading…
Cancel
Save