Skip to content

Commit

Permalink
Move ts-node --swc flag to TSConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
leotm committed Mar 2, 2022
1 parent d7cdcef commit 20d0abb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"snapshots:update": "jest -u",
"storybook": "(adb reverse tcp:7007 tcp:7007 || true) && start-storybook -c storybook -p 7007",
"get-stories": "sb-rn-get-stories --config-path=./.storybook",
"server": "ts-node --swc node.ts",
"server": "ts-node node.ts",
"deno": "deno run --allow-net deno.ts",
"postinstall": "patch-package",
"rename": "yarn react-native-rename",
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,8 @@
"jest",
"__tests__",
"src"
]
],
"ts-node": {
"swc": true
}
}

0 comments on commit 20d0abb

Please sign in to comment.