Skip to content

Warning alert when upgrading to angular 10 #60

@Slash7GNR

Description

@Slash7GNR

Hi,
When running ng build / serve, I'm receiving the following warning:

WARNING in /Users/inno/Desktop/Kobura/kob-ui/node_modules/@techiediaries/ngx-qrcode/__ivy_ngcc__/fesm2015/ngx-qrcode2.js depends on 'qrcode'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

There is a way to suppress the error by adding 'qrcode' to 'allowedCommonJsDependencies' in the angular.json file.
Is there any way you can solve this warning without suppressing it ?

Best regards,
Nadav

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions