MOBILE-3833 config: Disable chart.js CommonJS warning

main
Pau Ferrer Ocaña 2021-07-27 14:30:03 +02:00
parent 3f1f52f5c3
commit 9544aa179d
1 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,9 @@
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
"options": { "options": {
"allowedCommonJsDependencies":[
"chart.js"
],
"outputPath": "www", "outputPath": "www",
"index": "src/index.html", "index": "src/index.html",
"main": "src/main.ts", "main": "src/main.ts",
@ -46,7 +49,6 @@
}, },
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"extractCss": true,
"namedChunks": false, "namedChunks": false,
"aot": true, "aot": true,
"extractLicenses": true, "extractLicenses": true,