diff --git a/webpack/attachments.js b/webpack/attachments.js index f015af5a4..95b166f1e 100644 --- a/webpack/attachments.js +++ b/webpack/attachments.js @@ -38,11 +38,8 @@ const basicAttachmentMap = { "src/widget/**/*.js", "src/component/**/*.js", ]), - router_old: sync([ - "src/router/router_old.js", - ]), router: sync([ - "src/router/router.js", + "src/router/**/*.js", ]), 'core_without_normalize': sync( ["src/less/core/**/*.less", "src/less/theme/**/*.less", "!src/less/core/normalize.less", "!src/less/core/normalize2.less"], @@ -142,19 +139,6 @@ const fineui = [].concat( basicAttachmentMap.ts, ); -const fineui_old = [].concat( - basicAttachmentMap.polyfill, - basicAttachmentMap.core, - basicAttachmentMap.fix, - basicAttachmentMap.base, - basicAttachmentMap.case, - basicAttachmentMap.widget, - basicAttachmentMap.router_old, - [fixCompact, workerCompact], - basicAttachmentMap.ui, - basicAttachmentMap.ts, -); - const fineuiModern = [].concat( sync(["src/less/modern.less"]), sync([ @@ -175,18 +159,6 @@ const fineuiProxy = [].concat( basicAttachmentMap.ts, ); -const fineuiProxy_old = [].concat( - basicAttachmentMap.core, - basicAttachmentMap.fixProxy, - basicAttachmentMap.base, - basicAttachmentMap.case, - basicAttachmentMap.widget, - basicAttachmentMap.router_old, - [fixCompact, workerCompact], - basicAttachmentMap.ui, - basicAttachmentMap.ts, -); - const fineuiWithoutJqueryAndPolyfillJs = [].concat( sync([ "src/core/0.foundation.js", @@ -233,10 +205,8 @@ module.exports = { fineuiWithoutNormalize: uniq(fineuiWithoutNormalize), bundleWithoutNormalize: uniq(bundleWithoutNormalize), fineui: uniq(fineui), - fineui_old: uniq(fineui_old), fineuiModern: uniq(fineuiModern), fineuiProxy: uniq(fineuiProxy), - fineuiProxy_old: uniq(fineuiProxy_old), fineuiWithoutJqueryAndPolyfillJs: uniq(fineuiWithoutJqueryAndPolyfillJs), utils: uniq(basicAttachmentMap.utils), demo: uniq(demo), diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js index e0c190d61..a8177cf7c 100644 --- a/webpack/webpack.common.js +++ b/webpack/webpack.common.js @@ -24,9 +24,7 @@ module.exports = { demo: attachments.demo, // 用于启动dev模式时,工程引用调试 fineui: attachments.fineui, - "fineui.old": attachments.fineui_old, "fineui.proxy": attachments.fineuiProxy, - "fineui.proxy.old": attachments.fineuiProxy_old, }, externals: { lodash: '_',