Version 5 #227
ivanhofer
announced in
Announcements
Version 5
#227
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Version 5 is here 🎉
New features:
typesafeI18nString
typesafeI18nObject
This release contains some breaking changes:
rollup
pluginwebpack
pluginmigrating from version
4.x.x
rollup
orwebpack
plugin before, you need to switch to the node process in order to run the generator.rollup
plugin provided, there is no alternative right now.Those optimizations will come back in a future version.
reasons for these changes:
The rollup and the webpack plugin were a relic of the early days of
typesafe-i18n
. The library has evolved and those plugins were much slower to generate the types than the node process. Also the cost of maintaining three different approaches are to high if we take into account that they don't relly offer a benefit.In the future some kind of plugin will come back but focussing on bundle optimization.
Beta Was this translation helpful? Give feedback.
All reactions