mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-27 18:34:51 +10:00
Merge pull request #1716 from SergejKasper/fix-po-loader-issue
fix(vite): fix .po file loader issue
This commit is contained in:
@@ -22,6 +22,14 @@ export default defineConfig({
|
|||||||
fs: { allow: [searchForWorkspaceRoot(process.cwd())] },
|
fs: { allow: [searchForWorkspaceRoot(process.cwd())] },
|
||||||
},
|
},
|
||||||
|
|
||||||
|
optimizeDeps: {
|
||||||
|
esbuildOptions: {
|
||||||
|
loader: {
|
||||||
|
".po": "text",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
plugins: [
|
plugins: [
|
||||||
react({
|
react({
|
||||||
plugins: [["@lingui/swc-plugin", {}]],
|
plugins: [["@lingui/swc-plugin", {}]],
|
||||||
|
|||||||
Reference in New Issue
Block a user