Table (+ Calendar): p-table requires p-calendar module even if it isn't used #15737
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
Building a prod distribution of an angular app that includes a
p-table
with ap-columnFilterFormElement
results in a build whereprimeng-calendar.mjs
is included in the final output. It looks like this might be that p-columnFilterFormElement includes p-calendar regardless of whether it is being used or not.Environment
macOS
Reproducer
https://stackblitz.com/edit/github-1rw5mk
Angular version
17.3.7
PrimeNG version
17.16.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.11.1
Browser(s)
Chrome 125
Steps to reproduce the behavior
primeng-calendar.mjs
is listed (in my case 75kb/8%)Expected behavior
As
p-calendar
is neither used nor explicitly imported, i did not expect it to be included in my final dist output.The text was updated successfully, but these errors were encountered: