diff --git a/notebook/lab/package.json b/notebook/lab/package.json index 877e7847c..84168ea42 100644 --- a/notebook/lab/package.json +++ b/notebook/lab/package.json @@ -6,7 +6,7 @@ "main": "lib/index.js", "typings": "lib/index.d.ts", "dependencies": { - "jupyter-js-plugins": "^0.11.5", + "jupyter-js-plugins": "^0.11.8", "phosphide": "^0.9.0" }, "devDependencies": { diff --git a/notebook/lab/webpack.conf.js b/notebook/lab/webpack.conf.js index 3ebafcc3f..1c675b8b6 100644 --- a/notebook/lab/webpack.conf.js +++ b/notebook/lab/webpack.conf.js @@ -2,8 +2,6 @@ // See https://github.com/webpack/css-loader/issues/144 require('es6-promise').polyfill(); -var ContextReplacementPlugin = require("webpack/lib/ContextReplacementPlugin"); - module.exports = { entry: './index.js', output: { @@ -20,6 +18,7 @@ module.exports = { loaders: [ { test: /\.css$/, loader: 'style-loader!css-loader' }, { test: /\.json$/, loader: 'json-loader' }, + { test: /\.html$/, loader: 'file'}, // jquery-ui loads some images { test: /\.(jpg|png|gif)$/, loader: "file" }, // required to load font-awesome @@ -34,11 +33,5 @@ module.exports = { "base/js/namespace": "base/js/namespace", "notebook/js/outputarea": "notebook/js/outputarea", "services/kernels/comm": "services/kernels/comm" - }, - plugins: [ - new ContextReplacementPlugin( - /codemirror\/mode.*$/, - /codemirror\/mode.*\.js$/ - ) - ] + } }