mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-11-13 17:08:20 +00:00
fix: google analytics only on production
This commit is contained in:
@@ -11,6 +11,8 @@ const base: "" | `/${string}` =
|
||||
: (`/${rawBase.replace(/^\/+/, "").replace(/\/+$/, "")}` as `/${string}`);
|
||||
|
||||
export default defineConfig({
|
||||
// PUBLIC_* попадают в import.meta.env — флаги окружения вроде GA.
|
||||
envPrefix: ["VITE_", "PUBLIC_"],
|
||||
ssr: {
|
||||
noExternal: ["@lucide/svelte"],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user