Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
0.19
-
Unknown
-
Description
Reproduction steps
- go to the web package and run pnpm run build
- observe the vite logs
Expected
chunks small than 500kb are produced
Actual
dist/assets/c-edit-blocknote-BSKeKuQo.js 1,104.03 kB │ gzip: 321.06 kB │ map: 6,661.75 kB
Blocknote produces a very large 1Mo chunck
PS: another way to reproduce is to observe the network tab and click on edit.
Then observe the size of the c-edit-blocknote-*.js file from the debugger network tab.
PPS: see attached the result of running pnpx vite-bundle-visualizer -o stats.html on the web package. stats.html
In the screenshot below, blocknote is the rightmost first level rectangle.