-
Notifications
You must be signed in to change notification settings - Fork 156
Closed
Copy link
Labels
💥 severity: critical🐛 bugAny issue that describes a bugAny issue that describes a bug✅ status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.Applies to issues that have pending PRs resolving them, or PRs that have already merged.version: 21.0.x
Description
Description
Apps using the root igniteui-angular have a build/runtime error failing to resolve the igniteui-webcomponents import used by the Chat component. That's in its own entry and was intended to be optional, but it seems the re-export from the root entry forces it up for evaluation regardless.
- igniteui-angular version: 21.0.0
- browser: N/A
Steps to reproduce
Install (or ng add) igniteui-angular and using any component from the root entry:
import { IgxButtonDirective } from 'igniteui-angular'; <button igxButton="contained" type="button" class="button">
Button
</button>and run ng build or start.
Repro sample attached below.
Result
There's an error for the Chat's igniteui-webcomponents import:

And on start there's a runtime error:

Though that one I think doesn't do full tree-shaking, so not that surprising.
Expected result
The app should build/run without errors.
Attachments
Metadata
Metadata
Assignees
Labels
💥 severity: critical🐛 bugAny issue that describes a bugAny issue that describes a bug✅ status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.Applies to issues that have pending PRs resolving them, or PRs that have already merged.version: 21.0.x