You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't optimize WASM binaries on CI during typecheck (#2689)
The `typecheck` step for playground-common depended on wasm-web build:
```json
"@baml/playground-common#typecheck": {
"dependsOn": ["@gloo-ai/baml-schema-wasm-web#build"]
}
```
The build scripts called another script that ended up running `wasm-pack
--release`, which has a very time-consuming optimization stage:
```
[INFO]: ⬇️ Installing wasm-bindgen...
[INFO]: Optimizing wasm binaries with `wasm-opt`...
[INFO]: ✨ Done in 4m 37s
[INFO]: 📦 Your wasm pkg is ready to publish at ../web/dist.
```
This is not necessary for _typechecking_, we can run `--dev` instead of
`--release`.
0 commit comments