mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
Add path
This commit is contained in:
parent
c135e1d2ba
commit
e899f92019
|
@ -69,6 +69,7 @@
|
|||
"enzyme": "^3.11.0",
|
||||
"enzyme-adapter-react-16": "^1.15.6",
|
||||
"enzyme-to-json": "^3.6.2",
|
||||
"path-browserify": "^1.0.1",
|
||||
"react": "^16.14.0",
|
||||
"react-dom": "^16.14.0"
|
||||
},
|
||||
|
|
|
@ -47,6 +47,9 @@ module.exports = (env: { development?: boolean; platform?: string } = {}) => ({
|
|||
},
|
||||
resolve: {
|
||||
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
||||
fallback: {
|
||||
path: require.resolve('path-browserify'),
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
|
|
|
@ -44,6 +44,9 @@ module.exports = (env: { production?: boolean } = {}) => ({
|
|||
},
|
||||
resolve: {
|
||||
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
||||
fallback: {
|
||||
path: require.resolve('path-browserify'),
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
|
|
|
@ -4890,6 +4890,7 @@ __metadata:
|
|||
jsondiffpatch: ^0.4.1
|
||||
localforage: ^1.10.0
|
||||
lodash: ^4.17.21
|
||||
path-browserify: ^1.0.1
|
||||
prop-types: ^15.7.2
|
||||
react: ^16.14.0
|
||||
react-dom: ^16.14.0
|
||||
|
@ -23292,6 +23293,13 @@ fsevents@^1.2.7:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"path-browserify@npm:^1.0.1":
|
||||
version: 1.0.1
|
||||
resolution: "path-browserify@npm:1.0.1"
|
||||
checksum: c6d7fa376423fe35b95b2d67990060c3ee304fc815ff0a2dc1c6c3cfaff2bd0d572ee67e18f19d0ea3bbe32e8add2a05021132ac40509416459fffee35200699
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"path-dirname@npm:^1.0.0":
|
||||
version: 1.0.2
|
||||
resolution: "path-dirname@npm:1.0.2"
|
||||
|
|
Loading…
Reference in New Issue
Block a user