diff --git a/packages/tidal/README.md b/packages/tidal/README.md index 24f3efc3..8b07ac19 100644 --- a/packages/tidal/README.md +++ b/packages/tidal/README.md @@ -5,7 +5,6 @@ This is an experiment in implementing tree-sitter for parsing haskell. ```sh pnpm i cd haskell +pnpm copy-wasm pnpm dev ``` - -This \ No newline at end of file diff --git a/packages/tidal/package.json b/packages/tidal/package.json index e2f94c56..3cab8182 100644 --- a/packages/tidal/package.json +++ b/packages/tidal/package.json @@ -5,9 +5,9 @@ "type": "module", "scripts": { "dev": "vite", - "build": "vite build", + "build": "pnpm copy-wasm && vite build", "preview": "vite preview", - "prepare": "cp node_modules/hs2js/dist/tree-sitter.wasm public && cp node_modules/hs2js/dist/tree-sitter-haskell.wasm public" + "copy-wasm": "cp node_modules/hs2js/dist/tree-sitter.wasm public && cp node_modules/hs2js/dist/tree-sitter-haskell.wasm public" }, "repository": { "type": "git",