aspect-build / aspect-build/rules_swc
[Bug]: .swcrc setting for sourceMaps not honored.
- Dominant language
- Starlark
- Stars
- 49
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
### What happened?
I set `sourceMaps: "inline"` in `.swcrc`. I compiled the code. No sourcemaps in the target.
### Version
Development (host) and target OS/architectures:
Ubuntu Linux / amd64
Output of `bazel --version`:
bazel 7.1.1
Version of the Aspect rules, or other relevant rules from your
`WORKSPACE` or `MODULE.bazel` file:
Language(s) and/or frameworks involved:
### How to reproduce
```shell
https://github.com/aspect-build/rules_swc/pull/282
```
### Any other information?
_No response_
Contributor guide
Research direction
Start with the reproduction linked in PR #282 and inspect the .swcrc sourceMaps setting used there. Run the Bazel build on Ubuntu with sourceMaps set to "inline", then compare the target output with the expected inline sourcemap behavior; done means the configured sourcemaps appear in the compiled target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100