Skip to content

Commit

Permalink
Add path polyfill (#5175)
Browse files Browse the repository at this point in the history
  • Loading branch information
twschiller committed Feb 11, 2023
1 parent d0ec8de commit d7d9924
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"p-wait-for": "^5.0.0",
"page-metadata-parser": "^1.1.4",
"papaparse": "^5.3.1",
"path-browserify": "^1.0.1",
"primeicons": "^6.0.1",
"primereact": "^7.1.0",
"prop-types": "^15.7.2",
Expand Down
6 changes: 3 additions & 3 deletions webpack.sharedConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

const fs = require("fs");
const path = require("path");
const fs = require("node:fs");
const path = require("node:path");
const JSON5 = require("json5");
const { merge } = require("webpack-merge");

Expand Down Expand Up @@ -49,7 +49,7 @@ const shared = {
crypto: false,
console: false,
vm: false,
path: false,
path: require.resolve("path-browserify"),
chokidar: false,
},
},
Expand Down

0 comments on commit d7d9924

Please sign in to comment.