Closed celvin closed 3 years ago
When compiling in Angular 10, I'm getting the warning: '@openid/appauth'. CommonJS or AMD dependencies can cause optimization bailouts
When compiling
Warning: /usr/src/app/src/app/app.module.ts depends on '@openid/appauth'. CommonJS or AMD dependencies can cause optimization bailouts. ck-servicemesh-webapp | For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
npm install
The @openid/appauth import is an umbrella import for convenience. You can always just import the individual modules.
@openid/appauth
Expected Behavior
[REQUIRED] Describe expected behavior
When compiling in Angular 10, I'm getting the warning: '@openid/appauth'. CommonJS or AMD dependencies can cause optimization bailouts
Describe the problem
When compiling
[REQUIRED] Actual Behavior
Warning: /usr/src/app/src/app/app.module.ts depends on '@openid/appauth'. CommonJS or AMD dependencies can cause optimization bailouts. ck-servicemesh-webapp | For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
[REQUIRED] Steps to reproduce the behavior
npm install
[REQUIRED] Environment