v0.8.1: Fixes ESM build
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.