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

Tools: reduce dependencies #379

Open
ralfhandl opened this issue Jul 22, 2022 · 0 comments
Open

Tools: reduce dependencies #379

ralfhandl opened this issue Jul 22, 2022 · 0 comments
Labels
tooling Relates to tools (editors, visualizers, etc.)

Comments

@ralfhandl
Copy link
Contributor

ralfhandl commented Jul 22, 2022

API Designer and API Explorer are rather fat (> 5MB):

> [email protected] build
> parcel build --dist-dir ./dist/api-explorer

✨ Built in 64.24s

dist\api-explorer\index.html                       3.44 KB     1.90s
dist\api-explorer\rapid-mascot.82ffa289.png        4.21 KB     162ms
dist\api-explorer\index.ce519403.js            ⚠️  5.09 MB    55.16s
dist\api-explorer\index.f25624e2.css             286.13 KB     155ms

> [email protected] build
> parcel build --dist-dir ./dist/api-designer

✨ Built in 62.80s

dist\api-designer\index.html                       3.86 KB     1.41s
dist\api-designer\rapid-mascot.82ffa289.png        4.21 KB     120ms
dist\api-designer\index.75e65920.js            ⚠️  5.49 MB    53.57s
dist\api-designer\index.9d70d737.css             286.13 KB     142ms

Check dependencies and get rid of unnecessary ones.

See https://parceljs.org/features/production/#analyzing-bundle-sizes.

@ralfhandl ralfhandl added the tooling Relates to tools (editors, visualizers, etc.) label Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling Relates to tools (editors, visualizers, etc.)
Projects
None yet
Development

No branches or pull requests

1 participant