You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The core @syncfusion/ej2-documenteditor package is too large (3.5 MB minified) to be split into smaller chunks despite modular usage. This leads to a persistent warning and unnecessarily large payload for certain routes.
What we've tried:
✅ Lazy-loading the Syncfusion component via defineAsyncComponent()
✅ Manually splitting @syncfusion/ej2-documenteditor and @syncfusion/ej2-vue-documenteditor into separate chunks
✅ Avoiding any static imports across the app
✅ Using tree-shaking and importing only required modules (SfdtExport, Editor, etc.)
✅ Verified bundle with vite-plugin-visualizer
Suggested Feature / Fix:
Modularize the Syncfusion editor package – Split into smaller independent packages or modules that can be tree-shaken better.
Provide guidance on best practices for optimizing Syncfusion in modern frameworks like Vite.
Optionally publish E.g., @syncfusion/documenteditor-core, @syncfusion/documenteditor-export, etc. for better granularity.