From: Tiago Melo Date: Thu, 26 Mar 2020 13:10:14 +0000 (-0100) Subject: mgr/dashboard: Remove ngcc warnings X-Git-Tag: v16.1.0~2351^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9e2e7eed3bb98837860f6daf66195a94d8734f7c;p=ceph.git mgr/dashboard: Remove ngcc warnings Some packages are still not updated to be compatible with Angular 9 and can cause warnings. I have whitelisted some that work well, so we don't see the warning every time. Signed-off-by: Tiago Melo --- diff --git a/src/pybind/mgr/dashboard/frontend/ngcc.config.js b/src/pybind/mgr/dashboard/frontend/ngcc.config.js new file mode 100644 index 000000000000..2d0a64d82a6f --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/ngcc.config.js @@ -0,0 +1,9 @@ +module.exports = { + packages: { + 'simplebar-angular': { + ignorableDeepImportMatchers: [ + /simplebar-core\.esm/, + ] + }, + }, +};