From faabc1ac15f385ce268471150fe9816e33d80aad Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 6 Jan 2022 10:32:18 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webpack/components.js | 6 ++++++ webpack/webpack.prod.js | 3 +++ 2 files changed, 9 insertions(+) diff --git a/webpack/components.js b/webpack/components.js index 51afaac46..cb69f6333 100644 --- a/webpack/components.js +++ b/webpack/components.js @@ -10,8 +10,11 @@ function sync (patterns) { const basicAttachmentMap = { 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"]), buttons: sync(["src/case/button/**/*.js"]), + checkboxes: sync(["src/case/checkbox/**/*.js"]), combos: sync(["src/case/combo/**/*.js"]), editors: sync(["src/case/editor/**/*.js"]), triggers: sync(["src/case/trigger/**/*.js"]), @@ -26,8 +29,11 @@ const basicAttachmentMap = { module.exports = { single: basicAttachmentMap.single, + layer: basicAttachmentMap.layer, + pane: basicAttachmentMap.pane, button_group: basicAttachmentMap.button_group, buttons: basicAttachmentMap.buttons, + checkboxes: basicAttachmentMap.checkboxes, combos: basicAttachmentMap.combos, editors: basicAttachmentMap.editors, triggers: basicAttachmentMap.triggers, diff --git a/webpack/webpack.prod.js b/webpack/webpack.prod.js index 10143c02e..7d6f3d371 100644 --- a/webpack/webpack.prod.js +++ b/webpack/webpack.prod.js @@ -34,8 +34,11 @@ module.exports = merge.smart(common, { core: attachments.coreJs, resource: attachments.resource, "lib/single": components.single, + "lib/layers": components.layer, + "lib/pane": components.pane, "lib/button_group": components.button_group, "lib/buttons": components.buttons, + "lib/checkboxes": components.checkboxes, "lib/combos": components.combos, "lib/editors": components.editors, "lib/triggers": components.triggers,