Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix(vite): fix .po file loader issue

Sergej Kasper84cafba0c24d
diff --git a/apps/client/vite.config.ts b/apps/client/vite.config.ts
index de942754c..20316f4b9 100644
--- a/apps/client/vite.config.ts
+++ b/apps/client/vite.config.ts
@@ -22,6 +22,14 @@ export default defineConfig({
fs: { allow: [searchForWorkspaceRoot(process.cwd())] },
},
+ optimizeDeps: {
+ esbuildOptions: {
+ loader: {
+ ".po": "text",
+ },
+ },
+ },
+
plugins: [
react({
plugins: [["@lingui/swc-plugin", {}]],