refactor: Consolidate global styling with Tailwind and HeroUI theme variables and refactor devtools integration.
This commit is contained in:
@@ -1,26 +1,24 @@
|
||||
import { paraglideVitePlugin } from "@inlang/paraglide-js";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import { devtools } from "@tanstack/devtools-vite";
|
||||
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
|
||||
import viteReact from "@vitejs/plugin-react";
|
||||
import { nitro } from "nitro/vite";
|
||||
import { defineConfig } from "vite";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
import { paraglideVitePlugin } from "@inlang/paraglide-js"
|
||||
import tailwindcss from "@tailwindcss/vite"
|
||||
import { devtools } from "@tanstack/devtools-vite"
|
||||
import { tanstackStart } from "@tanstack/react-start/plugin/vite"
|
||||
import viteReact from "@vitejs/plugin-react"
|
||||
import { nitro } from "nitro/vite"
|
||||
import { defineConfig } from "vite"
|
||||
import tsconfigPaths from "vite-tsconfig-paths"
|
||||
|
||||
const config = defineConfig({
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
devtools(),
|
||||
paraglideVitePlugin({
|
||||
project: "./project.inlang",
|
||||
outdir: "./src/paraglide",
|
||||
strategy: ["url", "baseLocale"],
|
||||
strategy: ["url", "baseLocale"]
|
||||
}),
|
||||
nitro({ rollupConfig: { external: [/^@sentry\//] } }),
|
||||
tsconfigPaths({ projects: ["./tsconfig.json"] }),
|
||||
tailwindcss(),
|
||||
tanstackStart(),
|
||||
viteReact(),
|
||||
],
|
||||
});
|
||||
|
||||
export default config;
|
||||
viteReact()
|
||||
]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user