jrouwe / JoltPhysics.js

Port of JoltPhysics to JavaScript using emscripten
MIT License
270 stars 21 forks source link

fix(package.json): order of 'types' and 'default' in 'exports' #54

Closed isaac-mason closed 11 months ago

isaac-mason commented 11 months ago

Change

fix(package.json): order of 'types' and 'default' in 'exports'

Motivation

Partially addresses #52

The "types" condition should always come first in "exports".

https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-7.html#packagejson-exports-imports-and-self-referencing

jrouwe commented 11 months ago

Thanks for investigating!