rules_swc
rules_swc copied to clipboard
Bazel rules for the swc toolchain https://swc.rs/
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
### What is the current behavior? Currently `rules_swc` defaults to `js` unless you have file types `mts`, `mjs`, `cts`, `cjs`. This means that you can't customize the file extension type...
Crashes today, see https://github.com/swc-project/swc/issues/7822
### What happened? An import that utilizes swc paths (examples/paths/src/modules/moduleA/index.js) is generated with a much longer relative path than should be needed. Actual: ```javascript "use strict"; Object.defineProperty(exports, "__esModule", { value:...
### What happened? I'm using something simple like this in order to produce source_maps: This file is in a `BUILD.bazel` in a folder hello ```skylark ts_project( name = "lib", srcs...
### What happened? `paths` resolution does not work for entries in `.swcrc` with keys not ending in `/*`. That is, such setup works ```json { "jsc": { "paths": { "@modules/*":...
Follow-up to https://github.com/aspect-build/rules_swc/pull/172
### What is the current behavior? Followup to #149 which introduces plugin support but only documents how to use them for pre-built plugins distributed as wasm files. ### Describe the...
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action