We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 462aebd commit 030b03fCopy full SHA for 030b03f
apps/react-vite-app/vite.config.ts
@@ -4,6 +4,9 @@ import react from "@vitejs/plugin-react";
4
// https://vitejs.dev/config/
5
export default defineConfig({
6
plugins: [react()],
7
+ optimizeDeps: {
8
+ exclude: ["@ffmpeg/ffmpeg", "@ffmpeg/util"],
9
+ },
10
server: {
11
headers: {
12
"Cross-Origin-Opener-Policy": "same-origin",
apps/vue-vite-app/vite.config.ts
@@ -12,6 +12,9 @@ export default defineConfig({
'@': fileURLToPath(new URL('./src', import.meta.url))
13
}
14
},
15
16
+ exclude: ['@ffmpeg/ffmpeg', '@ffmpeg/util']
17
18
19
20
'Cross-Origin-Opener-Policy': 'same-origin',
0 commit comments