All checks were successful
Deploy monie-landing (kaniko) / build-and-deploy (push) Successful in 14m15s
31 lines
840 B
TypeScript
31 lines
840 B
TypeScript
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 { defineConfig } from "vite";
|
|
import tsconfigPaths from "vite-tsconfig-paths";
|
|
|
|
const config = defineConfig({
|
|
plugins: [
|
|
devtools(),
|
|
tsconfigPaths({ projects: ["./tsconfig.json"] }),
|
|
paraglideVitePlugin({
|
|
project: "./project.inlang",
|
|
outdir: "./src/paraglide",
|
|
strategy: ["localStorage", "preferredLanguage", "baseLocale"],
|
|
localStorageKey: "monie.locale",
|
|
emitTsDeclarations: true,
|
|
}),
|
|
tailwindcss(),
|
|
tanstackStart(),
|
|
viteReact({
|
|
babel: {
|
|
plugins: ["babel-plugin-react-compiler"],
|
|
},
|
|
}),
|
|
],
|
|
});
|
|
|
|
export default config;
|