Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Add a possibility to see sizes of whole bundles #138

Open
8 tasks
Beraliv opened this issue Sep 5, 2018 · 2 comments
Open
8 tasks

Add a possibility to see sizes of whole bundles #138

Beraliv opened this issue Sep 5, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Beraliv
Copy link
Member

Beraliv commented Sep 5, 2018

Currently our approach is to reduce a size of separate methods, not a whole bundle

It should be possible to see the sizes of whole bundles nonetheless:

  • To add a flag --bundle
  • To create a bundle
  • To check sizes of last nanoutils, ramda, (maybe lodash and underscore later) and etc.
  • To write values to SIZES.md to compare them

Analysis:

  • To create common internal methods to reduce a size of nanoutils' bundle

Check babel-nanoutils-plugin for partial builds:

  • To check if common internals are loaded correctly
  • To reduce a size of similar methods together
  • To check if partial builds are working in production correct
@Beraliv Beraliv added enhancement New feature or request good first issue Good for newcomers labels Sep 5, 2018
@Kelin2025
Copy link
Member

Kelin2025 commented Sep 5, 2018

From bundlephobia.com

image
image
image

@Beraliv
Copy link
Member Author

Beraliv commented Sep 5, 2018

@Kelin2025 obviously it can be checked like that
what about dev bundles?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants