We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SSR 在不同环境(预发、线上)下执行,页面的 Assets 所对应的 publicPath 能会所有差异
目前的做法是通过修改 SSR 渲染完的 HTML 来实现的。
这种方式在流式渲染的情况下,无法实现
替代上面的方式,目前的做法是在 Server Render 时,传入 Assets Manifest,动态根据环境修改 AssetsManifest 中的 publicPath 字段,然后交给 Render 渲染
No response
3
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
SSR 在不同环境(预发、线上)下执行,页面的 Assets 所对应的 publicPath 能会所有差异
目前的做法是通过修改 SSR 渲染完的 HTML 来实现的。
这种方式在流式渲染的情况下,无法实现
Expected behavior
替代上面的方式,目前的做法是在 Server Render 时,传入 Assets Manifest,动态根据环境修改 AssetsManifest 中的 publicPath 字段,然后交给 Render 渲染
Actual behavior
No response
Version of ice.js
3
Content of build.json or ice.config.mts
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: