-
Notifications
You must be signed in to change notification settings - Fork 130
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
useSameNameRequire=true时会提前加载require.async声明的模块样式 #36
Comments
请提供可复现的包。 |
直接在项目上测试的,干净的demo暂时没有,我把useSameNameRequire设为false就不会加载css了
useSameNameRequire=true的时候有区分分require和require. async的情况吗 |
对了, fis 里面处理异步 css 是自动把它变成同步的。只有 js 才会异步去加载,目的是防止页面抖动。 |
好吧,那就是了,个人认为做个配置是不是更合理些呢 |
嗯,这个可以有。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fis-config.js
业务逻辑:
结果页面按预期的没有加载app/header-download/header-download.js,
却会预先加载'app/header-download/header-download.css'
The text was updated successfully, but these errors were encountered: