Replies: 1 comment
-
直接用esbuild生产了js,终于可以用了。 rspack还会在js最后加上热更新相关的代码,虽然会报错但不影响使用 |
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.
-
看到文档里提到支持Worker,试了一下
new Worker(new URL('./worker.js', import.meta.url))
没问题但是
context.audioWorklet.addModule(new URL('./worker1/worker.js', import.meta.url))
就只得到了一个和new URL('./worker1/worker.js', import.meta.url)
完全一样的结果:文件原封不动直接被复制到assets里Beta Was this translation helpful? Give feedback.
All reactions