cockpit/webpack: path polyfill
We need to polyfill the `path` plugin for the cockpitApi store
This commit is contained in:
parent
f4d6bc587f
commit
ebe387992c
3 changed files with 5 additions and 0 deletions
|
|
@ -28,6 +28,9 @@ module.exports = {
|
|||
devtool,
|
||||
plugins,
|
||||
resolve: {
|
||||
fallback: {
|
||||
path: require.resolve('path-browserify'),
|
||||
},
|
||||
modules: [
|
||||
'node_modules',
|
||||
// this tells webpack to check `node_modules`
|
||||
|
|
|
|||
1
package-lock.json
generated
1
package-lock.json
generated
|
|
@ -75,6 +75,7 @@
|
|||
"moment": "2.30.1",
|
||||
"msw": "2.7.0",
|
||||
"npm-run-all": "4.1.5",
|
||||
"path-browserify": "1.0.1",
|
||||
"postcss-scss": "4.0.9",
|
||||
"react-chartjs-2": "5.3.0",
|
||||
"redux-mock-store": "1.5.5",
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@
|
|||
"moment": "2.30.1",
|
||||
"msw": "2.7.0",
|
||||
"npm-run-all": "4.1.5",
|
||||
"path-browserify": "1.0.1",
|
||||
"postcss-scss": "4.0.9",
|
||||
"react-chartjs-2": "5.3.0",
|
||||
"redux-mock-store": "1.5.5",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue