From 59a4cddd9f89070a2538fcd4269e699f2f3e6ed9 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 18 Jan 2022 15:45:27 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- private/modern/app.less | 2 -- private/modern/background.less | 2 -- private/modern/font.less | 2 -- private/modern/icon.less | 5 ----- private/modern/var.less | 5 ----- public/modern/app.less | 2 -- public/modern/background.less | 2 -- public/modern/font.less | 2 -- public/modern/icon.less | 5 ----- public/modern/var.less | 6 ------ ui/modern/app.less | 2 -- ui/modern/background.less | 2 -- ui/modern/font.less | 2 -- ui/modern/icon.less | 5 ----- ui/modern/var.less | 5 ----- webpack/attachments.js | 15 +++++++-------- webpack/webpack.prod.js | 1 - 17 files changed, 7 insertions(+), 58 deletions(-) delete mode 100644 private/modern/app.less delete mode 100644 private/modern/background.less delete mode 100644 private/modern/font.less delete mode 100644 private/modern/icon.less delete mode 100644 private/modern/var.less delete mode 100644 public/modern/app.less delete mode 100644 public/modern/background.less delete mode 100644 public/modern/font.less delete mode 100644 public/modern/icon.less delete mode 100644 public/modern/var.less delete mode 100644 ui/modern/app.less delete mode 100644 ui/modern/background.less delete mode 100644 ui/modern/font.less delete mode 100644 ui/modern/icon.less delete mode 100644 ui/modern/var.less diff --git a/private/modern/app.less b/private/modern/app.less deleted file mode 100644 index d086387ac..000000000 --- a/private/modern/app.less +++ /dev/null @@ -1,2 +0,0 @@ -@import "../../src/less/resource/app"; -@import "var"; diff --git a/private/modern/background.less b/private/modern/background.less deleted file mode 100644 index 996147127..000000000 --- a/private/modern/background.less +++ /dev/null @@ -1,2 +0,0 @@ -@import "../../src/less/resource/background"; -@import "var"; diff --git a/private/modern/font.less b/private/modern/font.less deleted file mode 100644 index c236f82ed..000000000 --- a/private/modern/font.less +++ /dev/null @@ -1,2 +0,0 @@ -@import "../../src/less/resource/font"; -@import "var"; diff --git a/private/modern/icon.less b/private/modern/icon.less deleted file mode 100644 index 43e3123c5..000000000 --- a/private/modern/icon.less +++ /dev/null @@ -1,5 +0,0 @@ -@import "../../src/less/resource/icon"; -@import "var"; - - - diff --git a/private/modern/var.less b/private/modern/var.less deleted file mode 100644 index 9eff8bc78..000000000 --- a/private/modern/var.less +++ /dev/null @@ -1,5 +0,0 @@ -@import "../../src/less/index-modern"; -@webUrl: './'; -@fontUrl: '@{webUrl}font/'; //图片的基本地址 -@imageUrl: '@{webUrl}images/1x/'; //图片的基本地址 -@image2xUrl: '@{webUrl}images/2x/'; //2倍图片的基本地址 diff --git a/public/modern/app.less b/public/modern/app.less deleted file mode 100644 index d086387ac..000000000 --- a/public/modern/app.less +++ /dev/null @@ -1,2 +0,0 @@ -@import "../../src/less/resource/app"; -@import "var"; diff --git a/public/modern/background.less b/public/modern/background.less deleted file mode 100644 index 996147127..000000000 --- a/public/modern/background.less +++ /dev/null @@ -1,2 +0,0 @@ -@import "../../src/less/resource/background"; -@import "var"; diff --git a/public/modern/font.less b/public/modern/font.less deleted file mode 100644 index c236f82ed..000000000 --- a/public/modern/font.less +++ /dev/null @@ -1,2 +0,0 @@ -@import "../../src/less/resource/font"; -@import "var"; diff --git a/public/modern/icon.less b/public/modern/icon.less deleted file mode 100644 index 43e3123c5..000000000 --- a/public/modern/icon.less +++ /dev/null @@ -1,5 +0,0 @@ -@import "../../src/less/resource/icon"; -@import "var"; - - - diff --git a/public/modern/var.less b/public/modern/var.less deleted file mode 100644 index 189948635..000000000 --- a/public/modern/var.less +++ /dev/null @@ -1,6 +0,0 @@ -@import "../../src/less/index-modern"; -@webUrl: 'https://fine-design-storage.oss-cn-shanghai.aliyuncs.com/fineui/2.0/'; -@fontUrl: '@{webUrl}font/'; //图片的基本地址 -@imageUrl: '@{webUrl}images/1x/'; //图片的基本地址 -@image2xUrl: '@{webUrl}images/2x/'; //2倍图片的基本地址 - diff --git a/ui/modern/app.less b/ui/modern/app.less deleted file mode 100644 index d086387ac..000000000 --- a/ui/modern/app.less +++ /dev/null @@ -1,2 +0,0 @@ -@import "../../src/less/resource/app"; -@import "var"; diff --git a/ui/modern/background.less b/ui/modern/background.less deleted file mode 100644 index 996147127..000000000 --- a/ui/modern/background.less +++ /dev/null @@ -1,2 +0,0 @@ -@import "../../src/less/resource/background"; -@import "var"; diff --git a/ui/modern/font.less b/ui/modern/font.less deleted file mode 100644 index c236f82ed..000000000 --- a/ui/modern/font.less +++ /dev/null @@ -1,2 +0,0 @@ -@import "../../src/less/resource/font"; -@import "var"; diff --git a/ui/modern/icon.less b/ui/modern/icon.less deleted file mode 100644 index 43e3123c5..000000000 --- a/ui/modern/icon.less +++ /dev/null @@ -1,5 +0,0 @@ -@import "../../src/less/resource/icon"; -@import "var"; - - - diff --git a/ui/modern/var.less b/ui/modern/var.less deleted file mode 100644 index c89fa87cc..000000000 --- a/ui/modern/var.less +++ /dev/null @@ -1,5 +0,0 @@ -@webUrl: 'resources?path=/com/fr/web/ui/'; - -@fontUrl: '@{webUrl}font/'; //图片的基本地址 -@imageUrl: '@{webUrl}images/1x/'; //图片的基本地址 -@image2xUrl: '@{webUrl}images/2x/'; //2倍图片的基本地址 diff --git a/webpack/attachments.js b/webpack/attachments.js index 585f13612..3b92c2714 100644 --- a/webpack/attachments.js +++ b/webpack/attachments.js @@ -162,13 +162,13 @@ const fineui = [].concat( basicAttachmentMap.ts, ); -const fineuiModern = [].concat( - sync(["src/less/modern.less"]), - sync([ - 'ui/modern/app.less', - 'ui/modern/**/*.less', - ]), -); +// const fineuiModern = [].concat( +// sync(["src/less/modern.less"]), +// sync([ +// 'ui/modern/app.less', +// 'ui/modern/**/*.less', +// ]), +// ); const fineuiProxy = [].concat( basicAttachmentMap.polyfill, @@ -228,7 +228,6 @@ module.exports = { fineuiWithoutNormalize: uniq(fineuiWithoutNormalize), bundleWithoutNormalize: uniq(bundleWithoutNormalize), fineui: uniq(fineui), - fineuiModern: uniq(fineuiModern), fineuiProxy: uniq(fineuiProxy), fineuiWithoutJqueryAndPolyfillJs: uniq(fineuiWithoutJqueryAndPolyfillJs), utils: uniq(basicAttachmentMap.utils), diff --git a/webpack/webpack.prod.js b/webpack/webpack.prod.js index b3fb8150f..7d8dd939c 100644 --- a/webpack/webpack.prod.js +++ b/webpack/webpack.prod.js @@ -18,7 +18,6 @@ module.exports = merge.smart(common, { font: attachments.font, "fineui.min": attachments.fineui, "fineui_without_normalize.min": attachments.fineuiWithoutNormalize, - "fineui.modern.min": attachments.fineuiModern, "fineui.proxy.min": attachments.fineuiProxy, "core_without_platform": attachments.coreWithoutPlatform, utils: attachments.utils,