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
System: OS: macOS 14.6.1 CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz Memory: 16.38 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.10.0 - /usr/local/bin/node Yarn: 1.22.22 - /usr/local/bin/yarn npm: 10.2.3 - /usr/local/bin/npm pnpm: 9.12.1 - /usr/local/bin/pnpm Browsers: Chrome: 129.0.6668.100 Edge: 129.0.2792.89 Safari: 17.6
const setup = () => { const offscreenCanvas = new OffscreenCanvas(100, 100); const gl = offscreenCanvas.getContext("webgl2"); const program = gl.createProgram(); gl.linkProgram(program); gl.useProgram(program); }; const worker = new Worker(URL.createObjectURL(new Blob([`(${setup})()`]))); console.log(worker);
It will throw error:
ERROR Uncaught ReferenceError: _s is not defined at handleError (http://localhost:8080/main.js:36548:64) at http://localhost:8080/main.js:36568:13
https://github.com/Yukiniro/reproduce/tree/master/rspack-issue-hot-update-worker
pnpm run dev
http://localhost:8080/
The text was updated successfully, but these errors were encountered:
This is due to react-refresh and has nothing to do with rspack. Here is the link facebook/react#31279. So, I close it.
Sorry, something went wrong.
No branches or pull requests
System Info
System:
OS: macOS 14.6.1
CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
Memory: 16.38 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.10.0 - /usr/local/bin/node
Yarn: 1.22.22 - /usr/local/bin/yarn
npm: 10.2.3 - /usr/local/bin/npm
pnpm: 9.12.1 - /usr/local/bin/pnpm
Browsers:
Chrome: 129.0.6668.100
Edge: 129.0.2792.89
Safari: 17.6
Details
It will throw error:
Reproduce link
https://github.com/Yukiniro/reproduce/tree/master/rspack-issue-hot-update-worker
Reproduce Steps
pnpm run dev
http://localhost:8080/
The text was updated successfully, but these errors were encountered: