New bundler & new major version (no breaking changes) #152
E-Kuerschner
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
TL;DR: v3.0.0 will soon be released and uses a different bundler under the hood. There should be no special migration steps required, but please open an issue tagged
v3
if you experience anything odd.Happy holidays everyone! In some of my spare time over the past couple weeks I have been working on modernizing the developer experience in the repo. Part of those changes included ditching the poorly maintained TSDX tool which I was using for bundling and migrating to something more modern: tsup.
Because this change will alter the contents of the package I felt it was most appropriate to distribute this as a major change in case it breaks anything with your applications' bundler setups. It should work, but there are only so many variations of setups that I can test on my own. With the current build, I was able to get the examples application in the repository running without any noticeable regressions. This application is built using Parcel v1 which is quite old so I'm hoping that indicates a broader compatibility with other build tools.
The package.json will be updated as well to include more modern features such as the exports field. The package will ship with both a CommonJS and ESM bundle, both built to target ES6 run times.
You can expect these changes in the soon to be released version 3.0.0 and there should be no migration required.
Beta Was this translation helpful? Give feedback.
All reactions