Skip to content

Commit

Permalink
Fix the build script
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Nov 18, 2024
1 parent ebd6e98 commit fceea46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

set -e

cd $(dirname "$0")/..
cd "$(dirname "$0")"/..

# --no-pack disables generation of a `package.json` file. Such a file is
# useless to us (our package uses the hand-written one in the root directory),
# and contains incorrect data (our `main` is `index.js`).
exec wasm-pack build --no-pack --target web --scope matrix-org --out-dir pkg --weak-refs "${WASM_PACK_ARGS[@]}"
exec wasm-pack build --no-pack --target web --scope matrix-org --out-dir pkg --weak-refs "${WASM_PACK_ARGS}"

0 comments on commit fceea46

Please sign in to comment.