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
There's also something going on with the extended icons - I get all of them bundled, which makes no sense and there might be an additional issue there as well.
Edit: Yeah, there seems to be an issue with the icons exports as they stand atm.
Even a simple import { contains } from '@igniteui/material-icons-extended'; will pull the entire package it seems:
That's with the Bundle test app that uses the default application builder. Possibly related to angular/angular-cli#26622, though not exactly as everything shakes out fine if the 'all' category is not exported from the main barrel. Originally posted by @damyanpetev in IgniteUI/igniteui-angular#14859 (comment)
The issues I can dig up mention using rollup's preserveModules but that's already on, so not entirely sure where the issue lies, only have the observational solution. Still, Angular's build is using ESBuild and whereever that lands in the pipeline it does seem to have some issues with barrels as linked above. We've observed some issues with spreading exports in groups in the library, though I can't find a specific issue for that.
Noticed the same happens if I just comment out the all export from the main entry. Which makes me think if that is also split into a separate entry and only re-exports from the main one, it might keep the exports the same but avoid the bailout.
The text was updated successfully, but these errors were encountered:
The issues I can dig up mention using rollup's
preserveModules
but that's already on, so not entirely sure where the issue lies, only have the observational solution. Still, Angular's build is using ESBuild and whereever that lands in the pipeline it does seem to have some issues with barrels as linked above. We've observed some issues with spreading exports in groups in the library, though I can't find a specific issue for that.Repro:
iconTreeShake.zip
npm run build
npx source-map-explorer .\dist\icon-tree-shake\browser\main-<hash>.js
Results:
However, if you swap the icons import to
@igniteui/material-icons-extended/editor
:Noticed the same happens if I just comment out the
all
export from the main entry. Which makes me think if that is also split into a separate entry and only re-exports from the main one, it might keep the exports the same but avoid the bailout.The text was updated successfully, but these errors were encountered: