Browse Source

Pull request #2428: chore: 整理代码

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

* commit '59a4cddd9f89070a2538fcd4269e699f2f3e6ed9':
  chore: 整理代码
es6
guy 3 years ago
parent
commit
54e26969e1
  1. 2
      private/modern/app.less
  2. 2
      private/modern/background.less
  3. 2
      private/modern/font.less
  4. 5
      private/modern/icon.less
  5. 5
      private/modern/var.less
  6. 2
      public/modern/app.less
  7. 2
      public/modern/background.less
  8. 2
      public/modern/font.less
  9. 5
      public/modern/icon.less
  10. 6
      public/modern/var.less
  11. 2
      ui/modern/app.less
  12. 2
      ui/modern/background.less
  13. 2
      ui/modern/font.less
  14. 5
      ui/modern/icon.less
  15. 5
      ui/modern/var.less
  16. 15
      webpack/attachments.js
  17. 1
      webpack/webpack.prod.js

2
private/modern/app.less

@ -1,2 +0,0 @@
@import "../../src/less/resource/app";
@import "var";

2
private/modern/background.less

@ -1,2 +0,0 @@
@import "../../src/less/resource/background";
@import "var";

2
private/modern/font.less

@ -1,2 +0,0 @@
@import "../../src/less/resource/font";
@import "var";

5
private/modern/icon.less

@ -1,5 +0,0 @@
@import "../../src/less/resource/icon";
@import "var";

5
private/modern/var.less

@ -1,5 +0,0 @@
@import "../../src/less/index-modern";
@webUrl: './';
@fontUrl: '@{webUrl}font/'; //图片的基本地址
@imageUrl: '@{webUrl}images/1x/'; //图片的基本地址
@image2xUrl: '@{webUrl}images/2x/'; //2倍图片的基本地址

2
public/modern/app.less

@ -1,2 +0,0 @@
@import "../../src/less/resource/app";
@import "var";

2
public/modern/background.less

@ -1,2 +0,0 @@
@import "../../src/less/resource/background";
@import "var";

2
public/modern/font.less

@ -1,2 +0,0 @@
@import "../../src/less/resource/font";
@import "var";

5
public/modern/icon.less

@ -1,5 +0,0 @@
@import "../../src/less/resource/icon";
@import "var";

6
public/modern/var.less

@ -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倍图片的基本地址

2
ui/modern/app.less

@ -1,2 +0,0 @@
@import "../../src/less/resource/app";
@import "var";

2
ui/modern/background.less

@ -1,2 +0,0 @@
@import "../../src/less/resource/background";
@import "var";

2
ui/modern/font.less

@ -1,2 +0,0 @@
@import "../../src/less/resource/font";
@import "var";

5
ui/modern/icon.less

@ -1,5 +0,0 @@
@import "../../src/less/resource/icon";
@import "var";

5
ui/modern/var.less

@ -1,5 +0,0 @@
@webUrl: 'resources?path=/com/fr/web/ui/';
@fontUrl: '@{webUrl}font/'; //图片的基本地址
@imageUrl: '@{webUrl}images/1x/'; //图片的基本地址
@image2xUrl: '@{webUrl}images/2x/'; //2倍图片的基本地址

15
webpack/attachments.js

@ -162,13 +162,13 @@ const fineui = [].concat(
basicAttachmentMap.ts, basicAttachmentMap.ts,
); );
const fineuiModern = [].concat( // const fineuiModern = [].concat(
sync(["src/less/modern.less"]), // sync(["src/less/modern.less"]),
sync([ // sync([
'ui/modern/app.less', // 'ui/modern/app.less',
'ui/modern/**/*.less', // 'ui/modern/**/*.less',
]), // ]),
); // );
const fineuiProxy = [].concat( const fineuiProxy = [].concat(
basicAttachmentMap.polyfill, basicAttachmentMap.polyfill,
@ -228,7 +228,6 @@ module.exports = {
fineuiWithoutNormalize: uniq(fineuiWithoutNormalize), fineuiWithoutNormalize: uniq(fineuiWithoutNormalize),
bundleWithoutNormalize: uniq(bundleWithoutNormalize), bundleWithoutNormalize: uniq(bundleWithoutNormalize),
fineui: uniq(fineui), fineui: uniq(fineui),
fineuiModern: uniq(fineuiModern),
fineuiProxy: uniq(fineuiProxy), fineuiProxy: uniq(fineuiProxy),
fineuiWithoutJqueryAndPolyfillJs: uniq(fineuiWithoutJqueryAndPolyfillJs), fineuiWithoutJqueryAndPolyfillJs: uniq(fineuiWithoutJqueryAndPolyfillJs),
utils: uniq(basicAttachmentMap.utils), utils: uniq(basicAttachmentMap.utils),

1
webpack/webpack.prod.js

@ -18,7 +18,6 @@ module.exports = merge.smart(common, {
font: attachments.font, font: attachments.font,
"fineui.min": attachments.fineui, "fineui.min": attachments.fineui,
"fineui_without_normalize.min": attachments.fineuiWithoutNormalize, "fineui_without_normalize.min": attachments.fineuiWithoutNormalize,
"fineui.modern.min": attachments.fineuiModern,
"fineui.proxy.min": attachments.fineuiProxy, "fineui.proxy.min": attachments.fineuiProxy,
"core_without_platform": attachments.coreWithoutPlatform, "core_without_platform": attachments.coreWithoutPlatform,
utils: attachments.utils, utils: attachments.utils,

Loading…
Cancel
Save