Commit 9301c05
fix(transpile): don't rebuild jco in debug during the vendor step
`setup:jco:vendor` began by running `setup:jco:build` (the debug jco build), then copied `../jco/obj/*` into `vendor/`. On the release path (`prepack` -> `build:release` -> `build:vendor:release`), that rebuild overwrote the freshly-built release `obj/` with a debug build before vendoring — so every publish shipped the ~133 MB debug `js-component-bindgen-component.core.wasm` (full DWARF) instead of the release build (~24 MB, ~4.6 MB gzipped). For jco-transpile's in-browser consumers that means a much larger download and a slower (opt-level 0) transpiler.
The vendor step should only copy; its callers (`build:vendor` / `build:vendor:release`) already build the correct profile. Drop the debug rebuild so the release path vendors the release artifacts.
Signed-off-by: Alexander Shishenko <alex@shishenko.com>1 parent 1ca9d29 commit 9301c05
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments