Skip to content

Commit f4a80cf

Browse files
committed
MOBILE-4549 chore: Remove Common JS Dependencies build warnings
https://angular.io/guide/build#configuring-commonjs-dependencies
1 parent d185d7d commit f4a80cf

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

angular.json

+12-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,18 @@
1616
"customWebpackConfig": {
1717
"path": "./webpack.config.js"
1818
},
19-
"allowedCommonJsDependencies":[
20-
"chart.js"
19+
"allowedCommonJsDependencies": [
20+
"@videojs/xhr",
21+
"global/document",
22+
"global/window",
23+
"keycode",
24+
"mux.js/lib/tools/parse-sidx",
25+
"mux.js/lib/utils/clock",
26+
"safe-json-parse/tuple",
27+
"videojs-vtt.js",
28+
"mp3-mediarecorder/worker",
29+
"dayjs",
30+
"ts-md5/dist/md5"
2131
],
2232
"outputPath": "www",
2333
"index": "src/index.html",

0 commit comments

Comments
 (0)