Browse Source

chore: 整理代码

es6
guy 3 years ago
parent
commit
59a4cddd9f
  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,
);
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),

1
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,

Loading…
Cancel
Save