mirror of https://github.com/buster-so/buster.git
25 lines
578 B
TypeScript
25 lines
578 B
TypeScript
import tailwindcss from "@tailwindcss/vite";
|
|
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
|
|
import viteReact from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vite";
|
|
import viteTsConfigPaths from "vite-tsconfig-paths";
|
|
|
|
const config = defineConfig({
|
|
server: {
|
|
port: 3000,
|
|
},
|
|
plugins: [
|
|
// this is the plugin that enables path aliases
|
|
viteTsConfigPaths({
|
|
projects: ["./tsconfig.json"],
|
|
}),
|
|
tailwindcss(),
|
|
tanstackStart({
|
|
customViteReactPlugin: true,
|
|
}),
|
|
viteReact(),
|
|
],
|
|
});
|
|
|
|
export default config;
|