Skip to main content

igniteui-wc-optimize-bundle-size

Reduce the application bundle size with Ignite UI Web Components. Register only the necessary components with named imports from the package root and defineComponents, not defineAllComponents. Lazy-load large components, bundle one theme, and use bundle analysis to verify tree-shaking. WHEN TO USE: the user reports a large bundle or a slow load, asks how to import components one at a time, wants to ship only one of the four themes, wants to lazy-load grids, charts, or dock manager, or needs to audit Ignite UI imports in Vite/webpack/Rollup builds. WHEN NOT TO USE: initial package installation or framework configuration (use integrate-with-framework), choosing components (use choose-components), theming (use customize-component-theme), or general performance problems that are not related to bundle size, such as runtime rendering or data virtualization.

来源信息

仓库
IgniteUI/igniteui-webcomponents
最近来源活动
2026年11月6日 12:54
检测到的 SKILL.md 语言
英语
星标
170
Forks
13

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
nameigniteui-wc-optimize-bundle-size
descriptionReduce the application bundle size with Ignite UI Web Components. Register only the necessary components with named imports from the package root and defineComponents, not defineAllComponents. Lazy-load large components, bundle one theme, and use bundle analysis to verify tree-shaking. WHEN TO USE: the user reports a large bundle or a slow load, asks how to import components one at a time, wants to ship only one of the four themes, wants to lazy-load grids, charts, or dock manager, or needs to audit Ignite UI imports in Vite/webpack/Rollup builds. WHEN NOT TO USE: initial package installation or framework configuration (use integrate-with-framework), choosing components (use choose-components), theming (use customize-component-theme), or general performance problems that are not related to bundle size, such as runtime rendering or data virtualization.