Skip to content

Commit

Permalink
Add buffer to externals
Browse files Browse the repository at this point in the history
Add buffer as external library. Else some other buffer libary (browser buffer) will be used, which will break some other libraries (e.g. MySQL).
  • Loading branch information
yannisgu authored Oct 13, 2017
1 parent 62ac244 commit 7e797f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ module.exports = {
"devtool": "source-map",
"externals": {
"electron": "require('electron')",
"buffer": "require('buffer')",
"child_process": "require('child_process')",
"crypto": "require('crypto')",
"events": "require('events')",
Expand Down

0 comments on commit 7e797f0

Please sign in to comment.