fix(website): fix base url

This commit is contained in:
Boshen 2023-07-24 21:01:16 +08:00
parent eafad4dfd1
commit e80274b61a
No known key found for this signature in database
GPG key ID: A69211CB52CC6548

View file

@ -6,7 +6,7 @@
"scripts": {
"dev": "pnpm run wasm-dev && concurrently 'vite' 'cd .. && cargo watch --workdir website -s \"pnpm run wasm-dev\"'",
"wasm-dev": "wasm-pack build --out-dir ../../npm/wasm-web --target web --dev --scope oxc ../crates/oxc_wasm",
"build": "pnpm run wasm-build && vite build --base=https://boshen.github.io/oxc/",
"build": "pnpm run wasm-build && vite build --base=https://web-infra-dev.github.io/oxc/",
"wasm-build": "wasm-pack build --out-dir ../../npm/wasm-web --target web --release --scope oxc ../crates/oxc_wasm"
},
"dependencies": {