Parcourir la source

yarn install before yarn build

Getty Ritter il y a 2 ans
Parent
commit
3c1f752802
2 fichiers modifiés avec 1 ajouts et 1 suppressions
  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