Skip to content

Commit

Permalink
ProvidePlugin fix for newer versions of webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtabor committed Jan 25, 2022
1 parent c56000f commit 4cc7e0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"dependencies": {
"tapable": "^2.2.0",
"webpack": "^5.24.4"
"webpack": "^5.67.0"
},
"devDependencies": {
"@jupyter-widgets/base": "^4.0.0",
Expand All @@ -49,7 +49,8 @@
"process": "0.11.10",
"source-map-loader": "^2.0.1",
"style-loader": "^2.0.0",
"ts-loader": "^8.0.17"
"ts-loader": "^8.0.17",
"webpack-cli": "^4.9.2"
},
"jupyterlab": {
"extension": "lib/plugin",
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = [
resolve,
plugins: [
new webpack.ProvidePlugin({
process: 'process/browser',
process: 'process/browser.js',
}),
],
},
Expand Down Expand Up @@ -75,7 +75,7 @@ module.exports = [
resolve,
plugins: [
new webpack.ProvidePlugin({
process: 'process/browser',
process: 'process/browser.js',
}),
],
},
Expand Down

0 comments on commit 4cc7e0e

Please sign in to comment.