mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-19 14:36:22 -05:00
react-stl-viewer pins three-stdlib 2.17.2, whose STLLoader decodes ASCII STL files with three's LoaderUtils.decodeText. three removed that function, so every ASCII STL preview failed while binary STLs (which never decode text) still worked. Override three-stdlib to 2.36.1, which ships its own decodeText. Jest can now load three: a small transform converts three/three-stdlib ES modules to CommonJS without babel-preset-react-app, whose class-properties plugin rejects three's static class blocks at our pinned Babel version. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| babelTransform.js | ||