调整css打包顺序

This commit is contained in:
liaoxuezhi 2019-05-20 14:03:38 +08:00
parent 70d851adc2
commit e00cf2bbc1
4 changed files with 10 additions and 57 deletions

View File

@ -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', // 让它在最下面
]

File diff suppressed because one or more lines are too long

View File

@ -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;

File diff suppressed because one or more lines are too long