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

fis3结合requirejs使用时,打包合并怎么去替换data-main里面的地址 #45

Open
yux357 opened this issue Mar 31, 2016 · 1 comment

Comments

@yux357
Copy link

yux357 commented Mar 31, 2016

打包之后用script标签引入了一个新的打包后的js文件,但是data-main里面的文件依然会异步加载

<script type="text/javascript" data-main="main/main" src="/libs/require.js"></script> <script type="text/javascript" src="/build/index.html_aio_525c2c3.js"></script>

比如会出现上面这种情况,我想把data-main的地址替换成打包后的文件地址,该如何做

@zhengjianbin
Copy link

同上

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