Skip to content

Commit

Permalink
fix: fix missing path-browserify dependency. #198
Browse files Browse the repository at this point in the history
Module not found: Error: Can't resolve 'path' in '/home/runner/work/react-color/react-color/node_modules/@babel/core/lib/transformation'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
  • Loading branch information
jaywcjlove committed May 27, 2023
1 parent 79dce9b commit 13bc5da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"fs-extra": "~10.1.0",
"minimist": "~1.2.6",
"mocker-api": "~2.9.5",
"path-browserify": "^1.0.1",
"postcss": "^8.4.4",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-loader": "^6.2.1",
Expand Down

0 comments on commit 13bc5da

Please sign in to comment.