Skip to content
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]: swc-loader unable to properly set and use breakpoints #8108

Open
MBearo opened this issue Oct 14, 2024 · 1 comment
Open

[Bug]: swc-loader unable to properly set and use breakpoints #8108

MBearo opened this issue Oct 14, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@MBearo
Copy link
Contributor

MBearo commented Oct 14, 2024

System Info

System:
OS: macOS 15.0
CPU: (10) arm64 Apple M1 Max
Memory: 1.36 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
Yarn: 1.22.21 - ~/.nvm/versions/node/v20.10.0/bin/yarn
npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
pnpm: 8.12.0 - ~/.nvm/versions/node/v20.10.0/bin/pnpm
bun: 1.1.0 - ~/.bun/bin/bun
Browsers:
Chrome: 129.0.6668.100
Edge: 112.0.1722.68
Safari: 18.0
npmPackages:
@rspack/cli: ^1.0.10 => 1.0.10
@rspack/core: ^1.0.10 => 1.0.10

Details

https://github.com/MBearo/issue-rspack-sourcemap-error

Image

This is a demo. After running npm i && npm run bundle:rs, the sourcemap in the bundled output is missing some mappings. However, the same configuration works correctly when using webpack and ts-loader.

Reproduce link

No response

Reproduce Steps

npm i
npm run bundle:rs

@MBearo MBearo added bug Something isn't working pending triage The issue/PR is currently untouched. labels Oct 14, 2024
@LingyuCoder LingyuCoder assigned SyMind and unassigned h-a-n-a Oct 17, 2024
@LingyuCoder LingyuCoder removed the pending triage The issue/PR is currently untouched. label Oct 17, 2024
@SyMind
Copy link
Member

SyMind commented Oct 18, 2024

@MBearo Try 1.0.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants