Skip to content
New issue

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

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

Already on GitHub? # to your account

无法解析css加载 #13

Open
xinjingfen opened this issue Dec 28, 2015 · 2 comments
Open

无法解析css加载 #13

xinjingfen opened this issue Dec 28, 2015 · 2 comments

Comments

@xinjingfen
Copy link

打包后生成的js包含,
var Overlay = require('overlay');
require('dialog.css');
但是css文件未加载

@chenmnkken
Copy link
Owner

因为 css 模块必须异步加载,所以不支持 css 文件的打包

@xinjingfen
Copy link
Author

生产环境打包情况比较复杂,不仅要从html读取seajs.config,而且要支持路径变量替换,甚至绝对路径的加载都需要支持,这。。。

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

No branches or pull requests

2 participants