fix(vite): fix .po file loader issue

This commit is contained in:
Sergej Kasper
2024-01-15 09:23:22 +01:00
parent e1ec60af92
commit 84cafba0c2

View File

@ -22,6 +22,14 @@ export default defineConfig({
fs: { allow: [searchForWorkspaceRoot(process.cwd())] },
},
optimizeDeps: {
esbuildOptions: {
loader: {
".po": "text",
},
},
},
plugins: [
react({
plugins: [["@lingui/swc-plugin", {}]],