vite-plugin-tsconfig-paths
v1.4.1
Published
Vite plugin for resolving tsconfig paths
Downloads
11,255
Maintainers
Readme
vite-plugin-tsconfig-paths
Vite plugin for resolving tsconfig paths
import { defineConfig } from "vite"
import tsConfigPaths from "vite-plugin-tsconfig-paths"
export default defineConfig({
plugins: [tsConfigPaths()],
})
reference
- https://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping
- https://github.com/microsoft/TypeScript/issues/5039