From 6f696a7c6cc65f9011b5919695a501717575c44e Mon Sep 17 00:00:00 2001 From: Ashok Date: Wed, 20 Mar 2024 12:30:28 +0530 Subject: [PATCH] For v2 extensions parse entrypoint data --- jupyterlab_server/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jupyterlab_server/config.py b/jupyterlab_server/config.py index 93c4abc..e310704 100644 --- a/jupyterlab_server/config.py +++ b/jupyterlab_server/config.py @@ -163,6 +163,8 @@ def get_page_config( extension["mimeExtension"] = extbuild["mimeExtension"] if "style" in extbuild: extension["style"] = extbuild["style"] + if "version" in extbuild and "entrypoint" in extbuild and extbuild["version"] == '2': + extension['entrypoints'] = extbuild["entrypoint"] extensions.append(extension) # If there is disabledExtensions metadata, consume it.