Replies: 1 comment 7 replies
-
You should post your tsconfig.json, too. |
Beta Was this translation helpful? Give feedback.
7 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.
-
input, two files
index.ts
one.ts
results
tsc's result
one.js
index.js
now, working well !
swc's result
one.js
index.js
swc's key config
"@swc/cli": "^0.1.51"
"@swc/core": "^1.2.105"
build script:
npx swc src -d ./dist --only **/*.ts --config-file .swcrc --env-name='test' --copy-files
now, can't run !
why ???
Beta Was this translation helpful? Give feedback.
All reactions