Browse Source

Fix federated module example

The running extension has changed and gives errors now. Also, now since the markdownviewer is not supplied by the system, we take it out of the resolutions.
Jason Grout 4 years ago
parent
commit
ca94241c60

+ 0 - 3
examples/federated/core_package/package.json

@@ -55,7 +55,6 @@
     "@jupyterlab/logconsole-extension": "~3.0.0-alpha.11",
     "@jupyterlab/mainmenu": "~3.0.0-alpha.11",
     "@jupyterlab/mainmenu-extension": "~3.0.0-alpha.11",
-    "@jupyterlab/markdownviewer": "~3.0.0-alpha.11",
     "@jupyterlab/markdownviewer-extension": "~3.0.0-alpha.11",
     "@jupyterlab/mathjax2": "~3.0.0-alpha.11",
     "@jupyterlab/mathjax2-extension": "~3.0.0-alpha.11",
@@ -140,7 +139,6 @@
     "@jupyterlab/notebook-extension": "^3.0.0-beta.5",
     "@jupyterlab/pdf-extension": "^3.0.0-beta.5",
     "@jupyterlab/rendermime-extension": "^3.0.0-beta.5",
-    "@jupyterlab/running-extension": "^3.0.0-beta.5",
     "@jupyterlab/settingeditor-extension": "^3.0.0-beta.5",
     "@jupyterlab/shortcuts-extension": "^3.0.0-beta.5",
     "@jupyterlab/statusbar-extension": "^3.0.0-beta.5",
@@ -245,7 +243,6 @@
       "@jupyterlab/mathjax2-extension": "",
       "@jupyterlab/notebook-extension": "",
       "@jupyterlab/rendermime-extension": "",
-      "@jupyterlab/running-extension": "",
       "@jupyterlab/settingeditor-extension": "",
       "@jupyterlab/shortcuts-extension": "",
       "@jupyterlab/statusbar-extension": "",

+ 2 - 1
examples/federated/core_package/webpack.config.js

@@ -77,7 +77,8 @@ if (process.env.NODE_ENV === 'production') {
 
 module.exports = [
   merge(baseConfig, {
-    entry: ['./publicpath.js', './'+path.relative(__dirname, entryPoint)],
+    mode: 'development',
+    entry: ['./publicpath.js', './' + path.relative(__dirname, entryPoint)],
     output: {
       path: buildDir,
       library: {