Boshen
Boshen
execa and internal-ip are esm only. copy-webpack-plugin and sass-loader breaks.
Waiting for responses on https://github.com/web-infra-dev/rspack/pull/5572 I cloned the repo and tested the latest Rspack version, it throws the resolution error ``` ERROR in × Resolve error: Can't resolve '/Users/bytedance/github/rspack-tests/module-path-starts-with-slash-error/node_modules/.pnpm/@[email protected]/node_modules/@rspack/core/hot/dev-server.js' in...
@BeeeQueue I found a workaround and I need your assistance to verify if this works. Inside `node_modules/@rspack/core/dist/multiCompiler.js`, add `options.parallelism = 1;` below line 29: ```javascript class MultiCompiler { constructor(compilers, options)...
This should be fixed by the referenced issues and PRs, feel free to reopen if this is still happening.
> From my quick testing it has not fixed it. Do you mind updating your repro so I can take a quick look?
Relates to https://github.com/web-infra-dev/rspack/issues/3169
Confirmed. How did you discover this? We don't normally import it as a package 🤔
> use bit shifting Can you comment why it's better on the spot for future contributors.
Yes, in the code.
Let me test this on a few real projects tomorrow before merging.