3.0.1 • Published 2 years ago

vite-plugin-tsc-watch v3.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

vite-plugin-tsc-watch npm

Plugs tsc --watch into Vite dev server. Like @nabla/vite-plugin-eslint this is a dev-only low noise plugin. It will just add logs to the dev server and not trigger an overlay while you're debugging or iterating on your code.

Installation

npm i -D vite-plugin-tsc-watch

Usage

import { defineConfig } from "vite";
import { tscWatch } from "vite-plugin-tsc-watch";

export default defineConfig({
  plugins: [tscWatch()],
});

Notes

To ensure .ts and .tsx files are not needlessly transpiled to .js files littering your codebase, set compilerOptions.noEmit: true in your tsconfig.json.

3.0.1

2 years ago

3.0.0

2 years ago

2.0.1

3 years ago

1.0.2

3 years ago

2.0.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago