mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 05:18:19 +00:00
Use target web
This commit is contained in:
parent
e6a97fae63
commit
8e836d3043
1 changed files with 3 additions and 3 deletions
|
@ -5,12 +5,12 @@
|
|||
"author": "Graphite Authors <contact@graphite.rs>",
|
||||
"scripts": {
|
||||
"start": "npm run dev",
|
||||
"dev": "wasm-pack build ./wasm --dev && concurrently -k --handle-input \"vite\" \"npm run watch:wasm\" || (npm run print-building-help && exit 1)",
|
||||
"dev": "wasm-pack build ./wasm --dev --target web && concurrently -k --handle-input \"vite\" \"npm run watch:wasm\" || (npm run print-building-help && exit 1)",
|
||||
"tauri:dev": "vite",
|
||||
"build": "npm run build-wasm && vite build || (npm run print-building-help && exit 1)",
|
||||
"lint": "eslint src || (npm run print-linting-help && exit 1)",
|
||||
"build-wasm": "wasm-pack build ./wasm --release",
|
||||
"watch:wasm": "cargo watch --postpone -C wasm -s \"wasm-pack build . --dev\"",
|
||||
"build-wasm": "wasm-pack build ./wasm --release --target web",
|
||||
"watch:wasm": "cargo watch --postpone -C wasm -s \"wasm-pack build . --dev --target web\"",
|
||||
"preview": "vite preview",
|
||||
"--------------------": "",
|
||||
"print-building-help": "echo 'Graphite project failed to build. Did you remember to `npm install` the dependencies in `/frontend`?'",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue