Skip to content

Commit e200a2b

Browse files
authored
Set toolkit packages as singleton shared assets (#298)
Co-authored-by: Frédéric Collonval <fcollonval@users.noreply.github.com>
1 parent b08d14b commit e200a2b

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

package.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,25 @@
9696
},
9797
"jupyterlab": {
9898
"extension": true,
99-
"outputDir": "lckr_jupyterlab_variableinspector/labextension"
99+
"outputDir": "lckr_jupyterlab_variableinspector/labextension",
100+
"sharedPackages": {
101+
"@jupyter/web-components": {
102+
"bundled": true,
103+
"singleton": true
104+
},
105+
"@microsoft/fast-components": {
106+
"bundled": true,
107+
"singleton": true
108+
},
109+
"@microsoft/fast-element": {
110+
"bundled": true,
111+
"singleton": true
112+
},
113+
"@microsoft/fast-foundation": {
114+
"bundled": true,
115+
"singleton": true
116+
}
117+
}
100118
},
101119
"styleModule": "style/index.js",
102120
"eslintIgnore": [

0 commit comments

Comments
 (0)