Can @rspack/browser be used in non-same-origin environments? #11716
pk111and222
started this conversation in
Ideas
Replies: 1 comment
-
worker部分可以参考monaco
|
Beta Was this translation helpful? Give feedback.
0 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.
-
众所周知,由于workers 和 wasm的同源原因,很多现代架构都是做静态资源cdn话分离掉的。
可否在rspack中提供一套配置,该配置开启后,可以将worker资源转成运行时拼接资源,同时将wasm文件可以利用异步读取的方式,读写转成base64从而实现拉取并在运行时拼接,从而解决跨域问题?
Beta Was this translation helpful? Give feedback.
All reactions