Skip to content

Multiple entry points #16325

@kdinev

Description

@kdinev

Currently the library is published as a single entrypoint. Using the library with Angular produces a bundle with igniteui-angular in main.
It would be nice to be able to have multiple chunks for the lazy modules.

image

image

Any feeback if this is possible or desired?

https://angular.io/guide/angular-package-format#entrypoints-and-code-splitting

The general rule for APF packages is to use entrypoints for the smallest sets of logically connected code possible. 
For example, the Angular Material package publishes each logical component or set of components 
as a separate entrypoint - one for Button, one for Tabs, etc. This allows each Material component
 to be lazily loaded separately, if desired.

Originally posted by @lalo-mx in #13856

Sub-issues

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions