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
The library is built using ng build --watch and builds ok first time.
On subsequent rebuilds , getting an error
✔ Compiling with Angular sources in Ivy full compilation mode.
✔ Writing FESM bundles
✔ Copying assets
✖ Writing package manifest
ERROR: Found a conflicting export condition for"./package.json". The "default" condition would be overridden by ng-packagr. Please unset it.
If i remove the exports entry from library package.json then rebuilds work ok.
Type of Issue
Description
In an angular library project upgraded to angular 13 added sass export in library package.json following instructions in https://angular.io/guide/creating-libraries#managing-assets-in-a-library
The library is built using ng build --watch and builds ok first time.
On subsequent rebuilds , getting an error
If i remove the exports entry from library package.json then rebuilds work ok.
How To Reproduce
Mentioned above.
Expected Behaviour
Rebuild without errors
Version Information
The text was updated successfully, but these errors were encountered: