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

两个html引用同一资源 #3

Open
lococo--0 opened this issue Jan 11, 2017 · 0 comments
Open

两个html引用同一资源 #3

lococo--0 opened this issue Jan 11, 2017 · 0 comments

Comments

@lococo--0
Copy link

lococo--0 commented Jan 11, 2017

对于a.html有如下引用

<script src="a.js"></script>
<script src="b.js"></script>

对于b.html有如下引用

<script src="a.js"></script>

开启aio之后
a.html会编译为

<script src="a.html_aio.js"></script>

b.html不会变

<script src="a.js"></script>

但是由于skip-packed的存在,a.js在deploy阶段被slice掉了,所以最后b.html的引用变为了404

对于这种情况有解决方案么?感觉问题应该在aio那边去解决

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