-
-
Notifications
You must be signed in to change notification settings - Fork 781
Description
System Info
System:
OS: Windows 11 10.0.26100
CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics
Memory: 3.12 GB / 15.36 GB
Binaries:
Node: 18.18.0 - C:\nvm4w\nodejs\node.EXE
npm: 9.8.1 - C:\nvm4w\nodejs\npm.CMD
pnpm: 10.5.2 - ~\AppData\Local\nvm\node_global\pnpm.CMD
Browsers:
Edge: Chromium (132.0.2957.115)
Internet Explorer: 11.0.26100.1882
npmPackages:
@rspack/cli: 1.2.6 => 1.2.6
@rspack/core: 1.2.6 => 1.2.6
css-loader: ^6.11.0 => 6.11.0
less: 4.2.2 => 4.2.2
less-loader: ^11.1.4 => 11.1.4
vue: 2.7.14 => 2.7.14
vue-loader: ^15.10.1 => 15.11.1
vue-style-loader: ^4.1.3 => 4.1.3
Details
I wrote an error code in the official sample (https://github.com/rspack-contrib/rstack-examples/tree/main/rspack/vue2-ts).

and change the devtool in the rspack.config.js file to 'source-map',
after that, I executed pnpm dev and found that the specified source code could not be located.

using vue3 (https://github.com/rspack-contrib/rstack-examples/tree/main/rspack/vue) to make the same modification will not have this problem, and the specified source code can be located.
Reproduce link
No response
Reproduce Steps
Create an error in the official example
Change devtool in rspack.config.js from false to 'source-map'
pnpm dev
