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
This library hasn't been updated in a while but I was still wondering if this is a misuse on my side or not.
So I'm working with angular, in my typescript file I'm adding: import t from 'typy'; and during build time I'm getting this warning:
Warning: ...\ui-branding.service.ts depends on 'typy'. CommonJS or AMD dependencies can cause optimization bailouts.
I know that I can add it to allowedCommonJsDependencies in angular.json to suppress the issue but am still wondering if this dependency can be packaged with ECMAScript for better optimization and overall bundle size.
The text was updated successfully, but these errors were encountered:
This library hasn't been updated in a while but I was still wondering if this is a misuse on my side or not.
So I'm working with angular, in my typescript file I'm adding:
import t from 'typy';
and during build time I'm getting this warning:Warning: ...\ui-branding.service.ts depends on 'typy'. CommonJS or AMD dependencies can cause optimization bailouts.
I know that I can add it to
allowedCommonJsDependencies
inangular.json
to suppress the issue but am still wondering if this dependency can be packaged with ECMAScript for better optimization and overall bundle size.The text was updated successfully, but these errors were encountered: