swc.config.js versus .swcrc #11481
runephilosof-abtion
started this conversation in
General
Replies: 2 comments 1 reply
-
|
swc.config.js is not supported. It's a copy-paste bug of a doc |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Filed #11482 to fix it with @claude. Thank you for pointing out. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
swc.config.jsis mentioned in the documentation forrootMode, but nowhere else.swc/packages/types/index.ts
Line 409 in 2bb7a82
How does it even work when it is not mentioned anywhere (except docs)?
https://github.com/search?q=org%3Aswc-project+swc.config&type=code?target=https://github.com
It is supported to use
swc.config.jsinstead of.swcrc?If so, it should be better documented and packages like
@swc/jestshould also look for it, as it does for.swcrc.If not, projects like shakapacker should probably not be using it (shakacode/shakapacker#635).
Beta Was this translation helpful? Give feedback.
All reactions