瀏覽代碼

yarn install before yarn build

Getty Ritter 2 年之前
父節點
當前提交
3c1f752802
共有 2 個文件被更改,包括 1 次插入1 次删除
  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