🅰️
JavaScript / TypeScript Basic
  • Home
  • JavaScript
    • Basic JavaScript基本構文
    • JavaScript Snippets
    • filter find
  • Vue.js
    • Vue Basic
  • typescript
    • init typescript
    • target / module
    • declaration / 型宣言ファイル
    • JavaScript file include TS & build
    • Build Mode オプション
    • TS基本 関数
    • TS基本 Class
Powered by GitBook
On this page
  • Build Mode
  • オプション
  • tsc -b --xxx

Was this helpful?

  1. typescript

Build Mode オプション

オプションTypeScript3.0以降、buildコマンドが導入された

Build Mode

tsc -b tsconfig.json --verbos // ログ出力

tsc -b tsconfig.json --dry // ビルドテスト、出力しない

tsc -b tsconfig.json --clean // Distフォルダなど削除

監視

tsc -b tsconfig.json --force

監視

tsc -b tsconfig.json --watch 

オプション

tsc -b --xxx

  • verbose

    • ログ

  • dry

    • ビルドテスト、出力なし

  • clean

    • dist/ 削除

  • force

    • 関連しないファイルもビルドする

  • watch

    • 監視

PreviousJavaScript file include TS & buildNextTS基本 関数

Last updated 3 years ago

Was this helpful?