fix: move i18n languages to public folder (#681)

* fix: move i18n languages for best practices

* updating test setup

* removed static copy
This commit is contained in:
Dan Ditomaso
2025-06-25 16:21:36 -04:00
committed by GitHub
parent e2f03aaf81
commit 85ee0747d1
183 changed files with 29 additions and 58 deletions
-9
View File
@@ -1,6 +1,5 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { viteStaticCopy } from "vite-plugin-static-copy";
import { execSync } from "node:child_process";
import process from "node:process";
import path from "node:path";
@@ -27,14 +26,6 @@ export default defineConfig({
// sourcemap: true,
// },
// }),
viteStaticCopy({
targets: [
{
src: "src/i18n/locales/**/*",
dest: "src/i18n/locales",
},
],
}),
],
define: {
"import.meta.env.VITE_COMMIT_HASH": JSON.stringify(hash),