Browse Source

yarn install before yarn build

Getty Ritter 1 year ago
parent
commit
3c1f752802
2 changed files with 1 additions and 1 deletions
  1. 0 1
      .gitignore
  2. 1 0
      Makefile

+ 0 - 1
.gitignore

@@ -1,5 +1,4 @@
 /target
-/Cargo.lock
 dist
 node_modules
 out

+ 1 - 0
Makefile

@@ -4,6 +4,7 @@ pkg/matzo_web_bg.wasm: src/lib.rs Cargo.toml Cargo.lock
 	wasm-pack build --target web
 
 dist/main.js: js/*.js package.json pkg/matzo_web_bg.wasm
+	yarn install
 	yarn build
 
 out/index.html: index.html build.py examples/*.matzo