Skip to content

Commit

Permalink
fix: support "module": "node16"/"nodenext" and also finds the nearest…
Browse files Browse the repository at this point in the history
… pacakge.json to determine if this is an es6 module

fix #23
  • Loading branch information
songkeys committed Sep 4, 2024
1 parent 7f366a8 commit 4d1be70
Show file tree
Hide file tree
Showing 7 changed files with 414 additions and 7 deletions.
316 changes: 315 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
"name": "tsconfig-to-swcconfig",
"version": "2.7.0",
"description": "Convert tsconfig to swc config",
"keywords": ["swc", "tsconfig", "converter", "config"],
"keywords": [
"swc",
"tsconfig",
"converter",
"config"
],
"homepage": "https://github.com/Songkeys/tsconfig-to-swcconfig#readme",
"bugs": {
"url": "https://github.com/Songkeys/tsconfig-to-swcconfig/issues"
Expand All @@ -18,7 +23,9 @@
"t2s": "dist/cli.js",
"tsconfig-to-swcconfig": "dist/cli.js"
},
"files": ["dist"],
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"format": "biome format . --write",
Expand Down
Loading

0 comments on commit 4d1be70

Please sign in to comment.