This issue has been created
There are 4 updates.
 
 
Cristal / cid:jira-generated-image-avatar-bf345ff4-81af-428e-ae6c-25de64afef3b CRISTAL-577 Open

Blocknote chunk is too large

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-491f2ddd-18df-418d-8fb4-dd0a7a39d999 Manuel Leduc created this issue on 27/Jun/25 14:19
 
Summary: Blocknote chunk is too large
Issue Type: cid:jira-generated-image-avatar-bf345ff4-81af-428e-ae6c-25de64afef3b Bug
Affects Versions: 0.19
Assignee: Unassigned
Components: Editor - Blocknote
Created: 27/Jun/25 14:19
Priority: cid:jira-generated-image-static-major-2e73360b-6c67-4da5-b60a-f79afb27c1b0 Major
Reporter: Manuel Leduc
Description:

Reproduction steps

  1. go to the web package and run pnpm run build
  2. 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.

 
 

4 updates

 
cid:jira-generated-image-avatar-491f2ddd-18df-418d-8fb4-dd0a7a39d999 Changes by Manuel Leduc on 27/Jun/25 14:19
 
Description: h2. Reproduction steps

# go to the {{web}} package and run {{pnpm run build}}
# observe the vite logs

h2. Expected

chunks small than 500kb are produced

h2. Actual

{noformat}
dist/assets/c-edit-blocknote-BSKeKuQo.js            1,104.03 kB │ gzip: 321.06 kB │ map: 6,661.75 kB
{noformat}

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.
!screenshot-1.png|thumbnail!
Attachment: stats.html
Attachment: screenshot-1.png
Labels: packaging