Closed wendy0512 closed 3 weeks ago
Hello @wendy0512. Please provide a reproduction repository or online demo. For background, see Why reproductions are required. Thanks ❤️
As the issue was labelled with need reproduction
, but no response in 5 days. This issue will be closed. Feel free to comment and reopen it if you have any further questions. For background, see Why reproductions are required.
由于该 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 need reproduction
, but no response in 5 days. This issue will be closed. Feel free to comment and reopen it if you have any further questions. For background, see Why reproductions are required.
由于该 issue 被标记为 "需要重现",但在 5 天内没有回应,因此该 issue 将被关闭。如果你有任何进一步的问题,请随时发表评论并重新打开该 issue。背景请参考 为什么需要最小重现。
Hi there! It's also affecting modern.js framework. I notice this when trying to implement sentry in my app.
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.