Commit 848ce1d
committed
fix(engine): declare builtin.ts as side-effectful to prevent tree-shaking
sideEffects:false told bundlers the import './charts/builtin' side-effect in compile.ts was safe to drop. Vite would strip it when resolving the engine via source alias, leaving the renderer registry empty. All chart types returned empty marks with no error.
Declare builtin.ts (and dist/index.js) as side-effectful so bundlers keep the registration import.1 parent b5d4020 commit 848ce1d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments