{issue]: Warning - CommonJS or AMD dependencies can cause optimization bailouts
Open
- Dominant language
- JavaScript
- Stars
- 225
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.