flexdinesh / flexdinesh/typy

{issue]: Warning - CommonJS or AMD dependencies can cause optimization bailouts

Open
#48 1 comment 1 reaction 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.