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

基于页面的js合并如何解决? #71

Open
zzlsan30 opened this issue Aug 5, 2016 · 0 comments
Open

基于页面的js合并如何解决? #71

zzlsan30 opened this issue Aug 5, 2016 · 0 comments

Comments

@zzlsan30
Copy link

zzlsan30 commented Aug 5, 2016

a.html页面有一个入口a.js,通过require的data-main方式引入a.js,现在想把这这个入口js中所有加载的js(包括jquery.js,b.js,c.js等)和a.js合并成一个新的js文件,目的是为了减少网络请求,请问有什么好的解决方案吗?通过使用fis3-deps-pack这个 插件,发现能够正常合并,但是页面加载的时候不会初始化a.js
里的代码,刚刚接触fis3不久,不知道使用fis3-postpackager-loader能否实现上述需求,希望予以指导

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

1 participant