Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

css 没有合并在一起 #98

Open
hkc452 opened this issue Dec 22, 2017 · 2 comments
Open

css 没有合并在一起 #98

hkc452 opened this issue Dec 22, 2017 · 2 comments

Comments

@hkc452
Copy link

hkc452 commented Dec 22, 2017

使用packager进行pack css全部合成一个,当某个html,打包前如果使用了多个打包前的css,打包后,只有把第一个单独的css替换成合并后的css,后面的单独的link标签依然存在,没有被识别出来,并被删除掉

@2betop
Copy link
Contributor

2betop commented Dec 22, 2017

求来个问题仓库

@hkc452
Copy link
Author

hkc452 commented Dec 26, 2017

通过分析文件生成map发现,如果这个css是被用fis插件scss编译的,就不会被放到同个pkg下面,然后就不能被合并在一起,如果这个css提前编译好,则不会出现这个问题,ps:调整scss插件位置也没用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants