Skip to content
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

Output is huge #886

Open
Guitlle opened this issue Apr 7, 2022 · 1 comment
Open

Output is huge #886

Guitlle opened this issue Apr 7, 2022 · 1 comment

Comments

@Guitlle
Copy link

Guitlle commented Apr 7, 2022

We have been testing aragon OS framework and made our custom app. There were many problems with that alone. We noticed that when publishing the app, the GUI folder is huge (at first it was ~50MB, the second build was ~36MB). IPFS sucks for huge folders because the gateway has to clone the whole repo and takes hours for the aragon ipfs gateway to sync this custom app GUI folder. When it is finally available, the aragon client loads only 12MB from this huge dist folder.

I saw there are lots of javascript and css maps as well as all of the aragon-ui source code (~11MB).

Is there a way to export an optimized GUI that is not 3x the size of the actual app? Do we really need to do "copy-aragon-ui-assets" before building? Shouldn't there be a centralized aragon-ui (and also for other dependencies) public production repo that apps can use? The actual apps GUIs are really really small. Just a bunch of buttons and layouts. We really don't need to have a full copy and a compiled copy of aragon-ui and all of the other dependencies.

@welcome
Copy link

welcome bot commented Apr 7, 2022

Thanks for opening your first issue in aragonUI! Someone will circle back soon ⚡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant