Skip to content

Commit

Permalink
调整css打包顺序
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop committed May 20, 2019
1 parent 70d851a commit e00cf2b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 57 deletions.
11 changes: 8 additions & 3 deletions fis-conf.js
Expand Up @@ -322,14 +322,19 @@ if (fis.project.currentMedia() === 'publish') {
'!zrender/**',
'!echarts/**',
],

'pkg/npm.css': [
'node_modules/*/**.css',
'!monaco-editor/**',
],

// css 打包
'pkg/style.css': [
'node_modules/*/**.css',
'*.scss',
'*.css',
'!monaco-editor/**',
'!/scss/themes/*.scss',
// 要切换主题,不能打在一起。'/scss/*.scss',
'!monaco-editor/**',

'!/examples/style.scss',
'/examples/style.scss', // 让它在最下面
]
Expand Down
1 change: 0 additions & 1 deletion gh-pages/doc_9cbe7e1.css

This file was deleted.

4 changes: 2 additions & 2 deletions gh-pages/index.html
Expand Up @@ -8,10 +8,10 @@
content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" />
<link rel="stylesheet" href="/amis/pkg/style_a2f795d.css" />
<link rel="stylesheet" href="/amis/pkg/npm_df4fb67.css" />
<link rel="stylesheet" title="default" href="/amis/scss/themes/default_c929c43.css" />
<link rel="stylesheet" title="cxd" disabled href="/amis/scss/themes/cxd_b399955.css" />
<link rel="stylesheet" href="/amis/doc_9cbe7e1.css" />
<link rel="stylesheet" href="/amis/pkg/style_fb39355.css" />
<style>
.app-wrapper {
position: relative;
Expand Down
51 changes: 0 additions & 51 deletions gh-pages/pkg/style_a2f795d.css

This file was deleted.

0 comments on commit e00cf2b

Please sign in to comment.