-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce bundle size? #295
Comments
That's something to analyze indeed. The package code itself is minimal, I can also only imagine it's one of the deps or the transpilation process. |
Using a different module to replace the functionality provided by Something like this? https://www.npmjs.com/package/semver-regex I can see that some refactoring would be needed, though, so I'm a bit hesitant... 😩 |
I'm going to leave it at that for now. 🤓 Even though improving speed and reducing bundle-size is an important issue, I have to admit that I won't be able to pick up the refactoring work needed. Sorry! |
Should be fixed by #481 now, right @vinicius73 ? |
Yes @juliushaertl, we are waiting #490 to be merged to close this issue. |
New version published The v3 is ~60% smaller than previous version. We will release new versions of nextcloud-libraries/nextcloud-axios#438 |
I'm excited to move away from
window.OC
to the@ nextcloud
packages in most cases and I recently added@nextcloud/auth
to one of my Nextcloud apps. 🤓 This package, in turn, requires@nextcloud/nextcloud-bus
, which unfortunately, seems to have had a considerable effect on bundle size. Right now, it's 13.41 % of the whole app's bundle.I quickly looked through this repository and I can't see any apparent reason why the code transpiles to more than 100 KB, maybe it is the import of semver? Or maybe it is simply legacy browser-support? Any ideas on how to reduce the size? 😊
The text was updated successfully, but these errors were encountered: