Skip to content

Commit

Permalink
For v2 extensions parse entrypoint data
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashok authored and Ashok committed Mar 20, 2024
1 parent 51ecf4f commit 6f696a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jupyterlab_server/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6f696a7

Please sign in to comment.