Closed pwang2 closed 1 year ago
Please see here https://github.com/pwang2/test-bundle
With a single icon, vite3 generates a bundle almost 6 times larger than vite2
https://github.com/pwang2/test-bundle
System: OS: macOS 13.0.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 9.14 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 19.0.1 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 8.19.2 - /usr/local/bin/npm Browsers: Chrome: 107.0.5304.121 Safari: 16.1 But basicall, all OS.
npm
see explanation here: https://github.com/vitejs/vite/discussions/11162
Closing
Describe the bug
Please see here https://github.com/pwang2/test-bundle
With a single icon, vite3 generates a bundle almost 6 times larger than vite2
Reproduction
https://github.com/pwang2/test-bundle
System Info
Used Package Manager
npm
Validations