chore: initialize project
Deploy monie-web to prod (kaniko) / build-and-deploy (push) Successful in 12m10s
Deploy monie-web to prod (kaniko) / build-and-deploy (push) Successful in 12m10s
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
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({
|
||||
plugins: [
|
||||
nitro(),
|
||||
devtools(),
|
||||
paraglideVitePlugin({
|
||||
project: "./project.inlang",
|
||||
outdir: "./src/paraglide",
|
||||
strategy: ["url", "baseLocale"],
|
||||
}),
|
||||
tsconfigPaths({ projects: ["./tsconfig.json"] }),
|
||||
tailwindcss(),
|
||||
tanstackStart({
|
||||
spa: {
|
||||
enabled: true,
|
||||
},
|
||||
}),
|
||||
viteReact({
|
||||
babel: {
|
||||
plugins: ["babel-plugin-react-compiler"],
|
||||
},
|
||||
}),
|
||||
],
|
||||
});
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user