Commit 3744ac2
committed
fix(build): Dropped minify from build config
- This commit removes the default minification from the Vite config.
There is a funny issue with tree-shaking when the package is shipped
in minified form. The minification process seems to interfere with
tree-shaking (in Vite itself, btw), resulting in a larger bundle size than expected.
By disabling minification, we can ensure that tree-shaking works correctly
and the final bundle size is optimized.1 parent 15b9669 commit 3744ac2
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments