From 5b9337334e8235b4a8655b1f3bf71ac127013763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Collonval?= Date: Tue, 23 Jan 2024 13:49:00 +0100 Subject: [PATCH] Set toolkit packages as singleton shared assets --- package.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7bf0efa..9c6616c 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,25 @@ }, "jupyterlab": { "extension": true, - "outputDir": "lckr_jupyterlab_variableinspector/labextension" + "outputDir": "lckr_jupyterlab_variableinspector/labextension", + "sharedPackages": { + "@jupyter/web-components": { + "bundled": true, + "singleton": true + }, + "@microsoft/fast-components": { + "bundled": true, + "singleton": true + }, + "@microsoft/fast-element": { + "bundled": true, + "singleton": true + }, + "@microsoft/fast-foundation": { + "bundled": true, + "singleton": true + } + } }, "styleModule": "style/index.js", "eslintIgnore": [