Replies: 1 comment 3 replies
-
Hi, can you provide a minimal reproduction? Thank you! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
import.meta.url file:// 协议是否符合规范
在webpack和vite中,import.meta.url返回的都是http://协议,
一些第三方库用webpack打包后,如果public path是动态的通过import.meta.url计算,由于rsbuild中是file://协议,导致浏览器动态import js的时候使用的是file://而不是http://导致失败。
Beta Was this translation helpful? Give feedback.
All reactions