0Pricing
TypeScript Academy · Lesson

tsc emit vs noEmit + bundlers

Compare plain tsc output vs --noEmit mode when using bundlers like Vite or webpack.

Intro

Goal: Learn how tsc emits JS, what --noEmit does, and why bundlers often replace emit.

tsc emit

By default, tsc emits compiled JS files (and optionally .d.ts) to an outDir.

// tsconfig.json
{
  "compilerOptions": {
    "outDir": "dist"
  }
}

// Command
npx tsc

// Produces JS + .d.ts in dist

All lessons in this course

  1. tsc emit vs noEmit + bundlers
  2. Vite / esbuild / SWC / Rollup basics
  3. Declarations, source maps, types exports
← Back to TypeScript Academy