调整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/**', '!zrender/**',
'!echarts/**', '!echarts/**',
], ],
'pkg/npm.css': [
'node_modules/*/**.css',
'!monaco-editor/**',
],
// css 打包 // css 打包
'pkg/style.css': [ 'pkg/style.css': [
'node_modules/*/**.css',
'*.scss', '*.scss',
'*.css',
'!monaco-editor/**',
'!/scss/themes/*.scss', '!/scss/themes/*.scss',
// 要切换主题,不能打在一起。'/scss/*.scss', // 要切换主题,不能打在一起。'/scss/*.scss',
'!monaco-editor/**',
'!/examples/style.scss', '!/examples/style.scss',
'/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"> content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel="stylesheet" href="https://bce.bdstatic.com/iconfont/iconfont.css" /> <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="default" href="/amis/scss/themes/default_c929c43.css" />
<link rel="stylesheet" title="cxd" disabled href="/amis/scss/themes/cxd_b399955.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> <style>
.app-wrapper { .app-wrapper {
position: relative; position: relative;

File diff suppressed because one or more lines are too long