-
Notifications
You must be signed in to change notification settings - Fork 51
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
Excluded files throw errors when compiling #80
Comments
Having this problem too on cli |
Having the issue with core 1.3.53. I have created a minim project to reproduce the issue https://github.com/pp0rtal/swc-bug-node_modules-interfer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's my configuration .swcrc:
The strategy is pretty simple: For .js files, use
ecmascript
syntax and compile tocommonjs
module. For .ts files, usetypescript
syntax and also compile tocommonjs
module format. In both cases, just ignore__tests__
.When I run:
npx swc src -d lib -s --sync
It tries to compile
.test.js
files, but complain that there's no matching configuration for them:Do I need to match
.test.js
files in another entry and figure out how to noop them? Using--exclude
doesn't seem to help, either. The docs are not very thorough about how configuration all works together. Especially with multiple entries.The text was updated successfully, but these errors were encountered: