Skip to content

Commit

Permalink
增加buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
luoluoTH committed Jan 4, 2024
1 parent 6d23bae commit b680d8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/renderer/src/main/config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = {
addWebpackResolve({
fallback: {
fs: false,
buffer: require.resolve('buffer')
},
}),
fixBabelImports('import', {
Expand Down
1 change: 1 addition & 0 deletions app/renderer/src/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
],
"devDependencies": {
"babel-plugin-import": "^1.13.8",
"buffer": "^6.0.3",
"env-cmd": "^10.1.0",
"node-polyfill-webpack-plugin": "^3.0.0",
"path-browserify": "^1.0.1",
Expand Down

0 comments on commit b680d8e

Please sign in to comment.