Format the committed vite build output so the biome pre-commit hook passes
Docs / docs (push) Canceled after 0s
Playwright Tests / test-playwright (1, 2) (push) Canceled after 0s
Playwright Tests / test-playwright (2, 2) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Test Backend / test-backend (push) Canceled after 0s
Compose Smoke Test / test-compose (push) Canceled after 0s
Playwright Tests / merge-reports (push) Canceled after 0s
Docs / docs (push) Canceled after 0s
Playwright Tests / test-playwright (1, 2) (push) Canceled after 0s
Playwright Tests / test-playwright (2, 2) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Test Backend / test-backend (push) Canceled after 0s
Compose Smoke Test / test-compose (push) Canceled after 0s
Playwright Tests / merge-reports (push) Canceled after 0s
This commit is contained in:
Vendored
+2
-2
@@ -1,2 +1,2 @@
|
|||||||
declare const _default: import("vite").UserConfig;
|
declare const _default: import("vite").UserConfig
|
||||||
export default _default;
|
export default _default
|
||||||
|
|||||||
+22
-22
@@ -1,25 +1,25 @@
|
|||||||
import path from "node:path";
|
import path from "node:path"
|
||||||
import tailwindcss from "@tailwindcss/vite";
|
import tailwindcss from "@tailwindcss/vite"
|
||||||
import { tanstackRouter } from "@tanstack/router-plugin/vite";
|
import { tanstackRouter } from "@tanstack/router-plugin/vite"
|
||||||
import react from "@vitejs/plugin-react-swc";
|
import react from "@vitejs/plugin-react-swc"
|
||||||
import { defineConfig } from "vite";
|
import { defineConfig } from "vite"
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
// A portal serves this bundle under a path of its own and caches one copy
|
// A portal serves this bundle under a path of its own and caches one copy
|
||||||
// for every installation, so asset URLs have to be absolute under that
|
// for every installation, so asset URLs have to be absolute under that
|
||||||
// prefix. Unset — every ordinary build — this stays "/".
|
// prefix. Unset — every ordinary build — this stays "/".
|
||||||
base: process.env.VITE_BASE || "/",
|
base: process.env.VITE_BASE || "/",
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
"@": path.resolve(__dirname, "./src"),
|
"@": path.resolve(__dirname, "./src"),
|
||||||
},
|
|
||||||
},
|
},
|
||||||
plugins: [
|
},
|
||||||
tanstackRouter({
|
plugins: [
|
||||||
target: "react",
|
tanstackRouter({
|
||||||
autoCodeSplitting: true,
|
target: "react",
|
||||||
}),
|
autoCodeSplitting: true,
|
||||||
react(),
|
}),
|
||||||
tailwindcss(),
|
react(),
|
||||||
],
|
tailwindcss(),
|
||||||
});
|
],
|
||||||
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user