LoginSignup
1
1

More than 3 years have passed since last update.

プロジェクト内で複数の tsconfig.json を使う

Posted at

場面

  • フロントエンドJSとバックエンドJSを同じレポジトリで管理している
  • テストを別の設定で実行する

エディタ

VSCODEはデフォルトでもっとも近いtsconfig.jsonを使います。

ts-node

ts-node --project hoge/tsconfig.json hoge.ts で使うtsconfigを指定できます。または、ts-node -P ~~~

ts-node - npm

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1