Browse Source

Update to jupyterlab-extension-builder 0.4.0

Jason Grout 8 years ago
parent
commit
e0b5969be9
2 changed files with 5 additions and 3 deletions
  1. 1 1
      jupyterlab/package.json
  2. 4 2
      jupyterlab/webpack.config.js

+ 1 - 1
jupyterlab/package.json

@@ -10,7 +10,7 @@
     "font-awesome": "^4.6.1",
     "fs-extra": "^0.30.0",
     "jupyterlab": "file:../",
-    "jupyterlab-extension-builder": "^0.3.0",
+    "jupyterlab-extension-builder": "^0.4.0",
     "material-design-icons": "^2.2.3",
     "semver": "^5.3.0",
     "webpack-config": "^6.1.2"

+ 4 - 2
jupyterlab/webpack.config.js

@@ -13,7 +13,8 @@ console.log('Generating bundles...');
 
 buildExtension({
   name: 'main',
-  entryPath: './index.js',
+  entry: './index',
+  outputDir: './build',
   config: {
     output: {
       publicPath: 'lab/'
@@ -23,7 +24,8 @@ buildExtension({
 
 buildExtension({
   name: 'extensions',
-  entryPath: './extensions.js',
+  entry: './extensions',
+  outputDir: './build',
   config: {
     output: {
       publicPath: 'lab/'