fix: Android 上強制使用 @rollup/wasm-node
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"tasks": {
|
||||
"build": "deno run -A --node-modules-dir npm:vite build",
|
||||
"build-watch": "deno run -A --node-modules-dir npm:vite --watch build"
|
||||
"build": "deno run --allow-run --allow-env --allow-read checkIsAndroidAndBuild.ts npm:vite build",
|
||||
"build-watch": "deno run --allow-run --allow-env --allow-read checkIsAndroidAndBuild.ts npm:vite --watch build"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
||||
@@ -17,6 +17,8 @@
|
||||
"react": "npm:react@18.3.1",
|
||||
"react-dom": "npm:react-dom@18.3.1",
|
||||
"vite": "npm:vite@7.0.6",
|
||||
|
||||
"rollup": "npm:@rollup/wasm-node@4.48.0",
|
||||
|
||||
"chalk": "npm:chalk@5.4.1",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user