Browse Source

Pull request #2396: 无JIAR任务 chore: 打包

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

* commit '55b3a84d9f074deac3f23523fa84947581f5810a':
  chore: 打包
es6
guy 3 years ago
parent
commit
9f977f2493
  1. 6
      webpack/components.js
  2. 3
      webpack/webpack.prod.js

6
webpack/components.js

@ -10,8 +10,11 @@ function sync (patterns) {
const basicAttachmentMap = { const basicAttachmentMap = {
single: sync(["src/base/single/**/*.js"]), single: sync(["src/base/single/**/*.js"]),
layer: sync(["src/base/layer/**/*.js"]),
pane: sync(["src/base/1.pane.js"]),
button_group: sync(["src/base/combination/group.button.js"]), button_group: sync(["src/base/combination/group.button.js"]),
buttons: sync(["src/case/button/**/*.js"]), buttons: sync(["src/case/button/**/*.js"]),
checkboxes: sync(["src/case/checkbox/**/*.js"]),
combos: sync(["src/case/combo/**/*.js"]), combos: sync(["src/case/combo/**/*.js"]),
editors: sync(["src/case/editor/**/*.js"]), editors: sync(["src/case/editor/**/*.js"]),
triggers: sync(["src/case/trigger/**/*.js"]), triggers: sync(["src/case/trigger/**/*.js"]),
@ -26,8 +29,11 @@ const basicAttachmentMap = {
module.exports = { module.exports = {
single: basicAttachmentMap.single, single: basicAttachmentMap.single,
layer: basicAttachmentMap.layer,
pane: basicAttachmentMap.pane,
button_group: basicAttachmentMap.button_group, button_group: basicAttachmentMap.button_group,
buttons: basicAttachmentMap.buttons, buttons: basicAttachmentMap.buttons,
checkboxes: basicAttachmentMap.checkboxes,
combos: basicAttachmentMap.combos, combos: basicAttachmentMap.combos,
editors: basicAttachmentMap.editors, editors: basicAttachmentMap.editors,
triggers: basicAttachmentMap.triggers, triggers: basicAttachmentMap.triggers,

3
webpack/webpack.prod.js

@ -34,8 +34,11 @@ module.exports = merge.smart(common, {
core: attachments.coreJs, core: attachments.coreJs,
resource: attachments.resource, resource: attachments.resource,
"lib/single": components.single, "lib/single": components.single,
"lib/layers": components.layer,
"lib/pane": components.pane,
"lib/button_group": components.button_group, "lib/button_group": components.button_group,
"lib/buttons": components.buttons, "lib/buttons": components.buttons,
"lib/checkboxes": components.checkboxes,
"lib/combos": components.combos, "lib/combos": components.combos,
"lib/editors": components.editors, "lib/editors": components.editors,
"lib/triggers": components.triggers, "lib/triggers": components.triggers,

Loading…
Cancel
Save