Skip to content

v0.8.1: Fixes ESM build

Compare
Choose a tag to compare
@stevenpetryk stevenpetryk released this 04 Jan 22:56
· 160 commits to main since this release

Oddly, Mafs 0.8.0 didn't export vec from its MJS build (but it did from the CommonJS build). Seems to be something related to how Parcel was handling this export in src/index.ts. Perhaps I'm just doing it wrong. Regardless I opened an issue in Parcel (parcel-bundler/parcel#8748).

This issue has been fixed by altering the syntax to export a const instead, which should un-break vec imports in create-react-app.