1.0.0 • Published 10 months ago

vite-plugin-tspaths v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Setup

Will expand on this later, for now: npm install -D vite-plugin-tspaths

// vite.config.ts
import { defineConfig } from "vite";
import configAliasVitePlugin from "vite-plugin-tspaths";

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

Options

By default it will look at the root that is set in your Vite config. ./tsconfig.json. If you want to specify somewhere else, do not put "./" before.

{
	configPath: "configs/tsconfig.json"; // ex
}
1.0.0

10 months ago