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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue