Merge pull request #1716 from SergejKasper/fix-po-loader-issue

fix(vite): fix .po file loader issue
This commit is contained in:
Amruth Pillai
2024-01-15 14:14:45 +01:00
committed by GitHub
+8
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", {}]],