mirror of
https://github.com/danbulant/oxc
synced 2026-05-21 21:29:01 +00:00
18 lines
361 B
JavaScript
18 lines
361 B
JavaScript
import { resolve } from 'path'
|
|
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
fs: {
|
|
allow: [__dirname, "../npm/oxc-wasm"],
|
|
},
|
|
},
|
|
build: {
|
|
rollupOptions: {
|
|
input: {
|
|
main: resolve(__dirname, 'index.html'),
|
|
playground: resolve(__dirname, 'playground/index.html'),
|
|
},
|
|
},
|
|
},
|
|
})
|