rspack
rspack copied to clipboard
[Bug]: broken caused by `@rspack/lite-tabable` reading a property from `undefined`
System Info
System: OS: macOS 14.6.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 81.11 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.20.4 - ~/.nvm/versions/node/v18.20.4/bin/node Yarn: 1.22.22 - ~/.nvm/versions/node/v18.20.4/bin/yarn npm: 10.7.0 - ~/.nvm/versions/node/v18.20.4/bin/npm Browsers: Chrome: 129.0.6668.59 Safari: 17.6
Details
Hi, guys! Thanks for your amazing tool!
I'm migrating my project from Webpack to Rspack now, and met a problem caused by @rspack/lite-tapable
reading property from undefined
.
I don't find the Repo of that package, so I raise a issue here. The code is as below:
node_modules/@rspack/lite-tapable/dist/index.js L485
I don't know if this problem can be fixed via adding a return
if tap
is undefined
. I think it's caused by Webpack plugins I used. If you need any more info, please notify me.
Reproduce link
No response
Reproduce Steps
Sorry, I cannot provide a repo to reproduce this problem for you now. But if this is necessary, I will try.