mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
19 lines
426 B
TypeScript
19 lines
426 B
TypeScript
import { defineConfig } from 'vite'
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
|
import WindiCSS from 'vite-plugin-windicss'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
optimizeDeps: {
|
|
exclude: ["codemirror", "@codemirror/language-javascript" /* ... */],
|
|
},
|
|
plugins: [
|
|
svelte(),
|
|
WindiCSS(),
|
|
],
|
|
server: {
|
|
fs: {
|
|
allow: [process.cwd(), "../npm/wasm-web"],
|
|
},
|
|
},
|
|
})
|