ffmpeg-explorer/vite.config.js

17 lines
391 B
JavaScript
Raw Normal View History

2023-08-18 17:23:56 -04:00
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [svelte()],
2023-08-19 13:01:37 -04:00
optimizeDeps: {
exclude: ["@ffmpeg/ffmpeg", "@ffmpeg/util"],
},
server: {
headers: {
"Cross-Origin-Opener-Policy": "same-origin",
"Cross-Origin-Embedder-Policy": "require-corp",
},
},
2023-08-18 17:23:56 -04:00
})