You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bf50c1f- Chinese docs up to date with the latest English source. Thanks @mk965! 🎉
Possibly Breaking Change:
283e66e - An exports field was added to package.json to make it compatible with ESM tools (to override the main field currently pointing at a CommonJS file which doesn't make sense for ESM, but does for old Node.js). To be safe, we made this a major version because there's a chance it can break someone's app (f.e. if they imported from dist/ directly, that will now be blocked, and they would need to change import ... from '@tweenjs/tween.js/dist/tween.esm.js' to import ... from '@tweenjs/tween.js'). Thanks for this @christjt!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Docs:
Possibly Breaking Change:
exports
field was added topackage.json
to make it compatible with ESM tools (to override themain
field currently pointing at a CommonJS file which doesn't make sense for ESM, but does for old Node.js). To be safe, we made this a major version because there's a chance it can break someone's app (f.e. if they imported from dist/ directly, that will now be blocked, and they would need to changeimport ... from '@tweenjs/tween.js/dist/tween.esm.js'
toimport ... from '@tweenjs/tween.js'
). Thanks for this @christjt!This discussion was created from the release v21.0.0 - Back to the Future.
Beta Was this translation helpful? Give feedback.
All reactions