Version
v4.4.0-beta.2
I was just looking at the build sizes on unpkg and they are much bigger than I expected.
For the ES/CJS builds, I believe that all dependencies should be considered externals. With Curi, I import the dependencies from package.json and pass the package names to Rollup as externals.
The UMD builds also grew from beta 1 to beta 2, but I'm not sure about the cause for that.
There is also a great Rollup plugin that I have been using to see bundle sizes: rollup-plugin-size-snapshot.
Version
v4.4.0-beta.2I was just looking at the build sizes on unpkg and they are much bigger than I expected.
For the ES/CJS builds, I believe that all dependencies should be considered externals. With Curi, I import the dependencies from
package.jsonand pass the package names to Rollup as externals.The UMD builds also grew from beta 1 to beta 2, but I'm not sure about the cause for that.
There is also a great Rollup plugin that I have been using to see bundle sizes:
rollup-plugin-size-snapshot.