Skip to content

Commit 7e797f0

Browse files
authored
Add buffer to externals
Add buffer as external library. Else some other buffer libary (browser buffer) will be used, which will break some other libraries (e.g. MySQL).
1 parent 62ac244 commit 7e797f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: webpack.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ module.exports = {
204204
"devtool": "source-map",
205205
"externals": {
206206
"electron": "require('electron')",
207+
"buffer": "require('buffer')",
207208
"child_process": "require('child_process')",
208209
"crypto": "require('crypto')",
209210
"events": "require('events')",

0 commit comments

Comments
 (0)