v21.0.0
版本发布时间: 2023-06-23 15:06:55
tweenjs/tween.js最新发布版本:v25.0.0(2024-07-26 12:51:38)
Docs:
- bf50c1f529a96b646e3c5fffececb918c4ea7384- Chinese docs up to date with the latest English source. Thanks @mk965! 🎉
Possibly Breaking Change:
- 283e66e3b1d3c90cfd186b1b6ea83bb5c542cb56 - An
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!