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

[Bug] runtimePublicPath 配置后,构建产物并没有增加动态base #12877

Open
xileliu opened this issue Dec 31, 2024 · 0 comments
Open

Comments

@xileliu
Copy link

xileliu commented Dec 31, 2024

What happens?

Mini Showcase Repository(REQUIRED)

umi版本:"@umijs/max": "^4.4.2"
.umirc.ts相关配置:
image

构建产物:
image
plugin配置:
image

runtimePublicPath 配置后,构建产物并没有增加动态base
正常期望是动态配置的,生辰后的html script 中的 src=“http://xxx.cdn.com/xx/umi.js” window.publicPath中的值

Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库

How To Reproduce

Steps to reproduce the behavior: 1. 2.

Expected behavior 1. 2.

Context

  • Umi Version:
  • Node Version:
  • Platform:
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