Open singh-jay opened 4 months ago
Rspack does not support _module and factoryMeta yet, if you are willing, welcome to contribute
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
System Info
System: OS: macOS 14.3.1 CPU: (8) arm64 Apple M1 Memory: 43.17 MB / 8.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 21.5.0 - /opt/homebrew/bin/node npm: 10.2.4 - /opt/homebrew/bin/npm Browsers: Brave Browser: 121.1.62.165 Chrome: 119.0.6045.199 Safari: 17.3.1
Details
I'm trying to migrate our projects to rspack, everything is working fine except the svg sprites. Tried different plugins but got a similar error. I tried to find a solution to use svg sprites but could not, any guide on how to use svg-sprite with rspack will be helpful.
Getting error - /node_modules/svg-chunk-webpack-plugin/lib/loader.js:20 this._module.factoryMeta = this._module.factoryMeta || {}; ^
TypeError: Cannot read properties of undefined (reading 'factoryMeta') at Object.SvgChunkWebpackLoader
Reproduce link
https://github.com/singh-jay/svg-chunk-plugin-test
Reproduce Steps