Closed bizappzone closed 2 months ago
The warning originates from the powerbi-client
, package. To resolve this, update the allowedCommonJsDependencies
option in your build configuration to prevent the CommonJS dependency warnings:
"allowedCommonJsDependencies": [
"powerbi-client"
],
Currently getting a warning when running application
'powerbi-client'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Added configs as instructed above "build": { "executor": "@angular-devkit/build-angular:browser", "outputs": ["{options.outputPath}"], "options": { ... "allowedCommonJsDependencies": [ "powerbi-client-angular"],