Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Speed up playground build slightly (#2242)
We no longer need to run a build command in the playground on `prql-js`, since the command is now part of `prql-js`'s `preinstall`. This givs us some speedup — 23s down from 32s — but most of the time is still taken up by re-running `wasm-opt`. There's an issue for this in rustwasm/wasm-pack#1152. But probably `wasm-opt` should be run by `build.rs` which knows whether it requires re-running based on changed input files https://doc.rust-lang.org/cargo/reference/build-scripts.html I think the current state is probably OK — we still get instant feedback when developming the playground; this is only required when _starting_ the playground on changing `prql-js`
- Loading branch information