Commit 46df383
committed
build(vite): stub ColorMaps.json.js with a default export
VolView's virtual-modules plugin stubs @kitware/vtk.js's internal
ColorMaps.json.js to drop the unused built-in colormap data. vtk.js v36
builds with Vite/Rolldown, which emits that module with `export default`
(v35's Rollup build used a minified named export). Match the new shape
so the stub satisfies ColorMaps.js's default import.1 parent 89d837b commit 46df383
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
0 commit comments