Angular 11.2.x gives CommonJS or AMD dependencies warning with calendar-link
See original GitHub issueWhen using calendar-link with angular 11.2.x, we get the following warning upon doing ng serve
.
Warning: D:\Git\Project\src\app\core\my.component.ts depends on 'calendar-link'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
CommonJS dependencies are being unadvised for Angular starting from versions 10.x.
Info: Angular version: 11.2.9 Angular cli version: 11.2.8 calendar-link version: 2.0.16
More information here: Configuring CommonJS dependencies
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:23 (4 by maintainers)
Top Results From Across the Web
Fix CommonJS or AMD dependencies can cause optimization ...
When you use a dependency that is packaged with CommonJS, it can result in larger slower applications. Starting with version 10, Angular now ......
Read more >Workspace npm dependencies - Angular
The following Angular packages are included as dependencies in the default package.json file for a new Angular workspace. For a complete list of...
Read more >Impossible to start project - Flatlogic Forum
Hello,. I get the code from GitHub, installed latest version of Angular and Yarn. I get the packages no problem.
Read more >Tutorial - Set up fullstack project - Angular - AWS Amplify Docs
Angular CLI output warnings: if you see CommonJS or AMD dependencies optimization bailouts warnings using Angular 9+, you can use this gist to...
Read more >could not resolve dependency: npm err! peer @angular/core ...
When I this command I get below errors. npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: csi ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Ruslancic That seems to be a different issue though.
You should probably open a dedicated issue for it.
Thank you!