okikio / bundlejs

An online tool to quickly bundle & minify your projects, while viewing the compressed gzip/brotli bundle size, all running locally on your browser.
https://bundlejs.com
MIT License
751 stars 13 forks source link

Allow to specify a library version #15

Closed artalar closed 2 years ago

artalar commented 2 years ago

It would be nice to have a possibility to specify version of libraries, like so export * from 'lib@1.0.0'

okikio commented 2 years ago

@artalar You can already do that. I probs, should add that to the bundle.js.org#usage.

artalar commented 2 years ago

Sorry, but it isn't work for me

https://bundle.js.org/?q=@okikio/animate

CleanShot 2022-02-05 at 13 04 13@2x

https://bundle.js.org/?q=@okikio/animate@2.3.1

CleanShot 2022-02-05 at 13 04 30@2x
okikio commented 2 years ago

It seems there is a bug with the bundling process that causes esbuild to treeshake way too much, I'll have to investigate further and then get back to you

okikio commented 2 years ago

This bug is now fixed, and should be coming out in an update either today or tomorrow, most likely tomorrow

okikio commented 2 years ago

The bug has now officially been fixed, please tell me if you find any other bugs