-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
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
[Bug]: Configuring sourceMap: { js: 'source-map' } in the production environment cannot decode stack traces. #3447
Comments
Hello @wendy0512. Please provide a reproduction repository or online demo. For background, see Why reproductions are required. Thanks ❤️ |
As the issue was labelled with 由于该 issue 被标记为 "需要重现",但在 5 天内没有回应,因此该 issue 将被关闭。如果你有任何进一步的问题,请随时发表评论并重新打开该 issue。背景请参考 为什么需要最小重现。 |
Minimal reproduction has been added. @chenjiahan |
Sorry, after upgrading @rsbuild/core from 1.0.4 to 1.0.8, the example still does not display as expected. @chenjiahan |
As the issue was labelled with 由于该 issue 被标记为 "需要重现",但在 5 天内没有回应,因此该 issue 将被关闭。如果你有任何进一步的问题,请随时发表评论并重新打开该 issue。背景请参考 为什么需要最小重现。 |
Hi there! |
Version
Details
In the output configuration, setting sourceMap: { js: 'source-map' } results in inconsistent source code parsing behavior between the development and production environments, with the production environment not working as expected.
The development environment interface is as follows:
The production environment interface is as follows:
Reproduce link
https://github.com/wendy0512/rsbuild-sourcemap-repro
Reproduce Steps
In the output configuration, set sourceMap: { js: 'source-map' }.
Run rsbuild dev and observe the network resources in the development environment.
Run rsbuild build and observe the network resources in the production environment.
The text was updated successfully, but these errors were encountered: