]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: Remove ngcc warnings
authorTiago Melo <tmelo@suse.com>
Thu, 26 Mar 2020 13:10:14 +0000 (12:10 -0100)
committerTiago Melo <tmelo@suse.com>
Tue, 12 May 2020 23:39:43 +0000 (23:39 +0000)
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 <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/ngcc.config.js [new file with mode: 0644]

diff --git a/src/pybind/mgr/dashboard/frontend/ngcc.config.js b/src/pybind/mgr/dashboard/frontend/ngcc.config.js
new file mode 100644 (file)
index 0000000..2d0a64d
--- /dev/null
@@ -0,0 +1,9 @@
+module.exports = {
+  packages: {
+    'simplebar-angular': {
+      ignorableDeepImportMatchers: [
+        /simplebar-core\.esm/,
+      ]
+    },
+  },
+};