Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #997 from matrix-org/t3chguy/external_electron
Browse files Browse the repository at this point in the history
maybe fixxy [Electron] external thing?
  • Loading branch information
richvdh committed Jun 1, 2017
2 parents f756d23 + 9f8b2ba commit d0c1da5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ module.exports = function (config) {
],
},
devtool: 'inline-source-map',
externals: {
// Don't try to bundle electron: leave it as a commonjs dependency
// (the 'commonjs' here means it will output a 'require')
"electron": "commonjs electron",
},
},

webpackMiddleware: {
Expand Down

0 comments on commit d0c1da5

Please sign in to comment.