Skip to content

Commit

Permalink
fixing build error with xmlhttprequest
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmod committed Nov 21, 2018
1 parent 07859d8 commit f55525c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ const buildPlugins = [

// configs
const config = {
externals: [{
xmlhttprequest: '{XMLHttpRequest:XMLHttpRequest}'
}],
entry: {
background: [SRC_DIR + '/background.js'],
blocked_redirect: [CONTENT_SCRIPTS_DIR + '/blocked_redirect.js'],
Expand Down

0 comments on commit f55525c

Please sign in to comment.