webpack-nano icon indicating copy to clipboard operation
webpack-nano copied to clipboard

Package size :)

Open pavelloz opened this issue 6 years ago โ€ข 5 comments

If you wanted to increase the gap between webpack-cli and webpack-nano in size, it looks like ~50% of the package size is license file, which probably could be slimmed down :)

image

pavelloz avatar Oct 08 '19 14:10 pavelloz

Thanks! As a matter of practice I always include the license file. (Especially after a little incident with a webpack core team member copying, renaming, and relicensing my work a while back) MPL-2.0 is unfortunately a larger document than MIT ๐Ÿ˜„

shellscape avatar Oct 08 '19 15:10 shellscape

Well, there is also minifying as a last resort in optimizing package size :D I never did it but maybe its worth exploring :)

PS. I dont think it matters, since all the other packages in usual projects reach easily 200MB+, but i just saw that you are proud of tiny size, so just proposing - maybe a good excercise :-)

pavelloz avatar Oct 08 '19 17:10 pavelloz

Let's close? ๐Ÿ˜„

bebraw avatar Oct 26 '20 11:10 bebraw

I've been thinking about using Rollup to bundle and I'd like to track that on this issue.

shellscape avatar Oct 26 '20 12:10 shellscape

Ah, cool. Let's keep this open then.

bebraw avatar Oct 26 '20 12:10 bebraw