Add path to extension

This commit is contained in:
Nathan Bierema 2021-08-27 23:50:33 -04:00
parent 3ff3ab500f
commit 8a69cf2b67
3 changed files with 5 additions and 0 deletions

View File

@ -64,6 +64,7 @@
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"gitbook-cli": "^2.3.2",
"path-browserify": "^1.0.1",
"react-transform-catch-errors": "^1.0.2",
"react-transform-hmr": "^1.0.4",
"selenium-webdriver": "^3.6.0",

View File

@ -62,6 +62,9 @@ const baseConfig = (params) => ({
tmp: path.join(__dirname, '../build/tmp'),
},
extensions: ['.js', '.jsx', '.ts', '.tsx'],
fallback: {
path: require.resolve('path-browserify'),
},
},
module: {
rules: [

View File

@ -25865,6 +25865,7 @@ fsevents@^1.2.7:
gitbook-cli: ^2.3.2
jsan: ^3.1.13
lodash: ^4.17.21
path-browserify: ^1.0.1
react: ^16.14.0
react-dom: ^16.14.0
react-icons: ^3.11.0