I've been wondering about the minification size displayed on the website. As you may know, in a typical development setup, we often have different code sizes for development and production environments.
My question is whether pkg-size.dev takes into account the different minification sizes for code in different environments, specifically by using the process.env.NODE_ENV === "production" flag.
Hi there!
I've been wondering about the minification size displayed on the website. As you may know, in a typical development setup, we often have different code sizes for development and production environments.
My question is whether pkg-size.dev takes into account the different minification sizes for code in different environments, specifically by using the
process.env.NODE_ENV === "production"
flag.e.g. react:
https://github.com/facebook/react/blob/9f4fbec5f7bb639be6dac438f9da5f032ae12c15/packages/react/npm/index.js#L1-L7