Skip to content

Commit

Permalink
disable node modules in webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
mad-gooze committed Feb 2, 2019
1 parent 79cf74f commit 9fc1b75
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ const baseConfig = {
exclude: /node_modules/
}
]
},
node: {
global: false,
process: false,
__filename: false,
__dirname: false,
Buffer: false,
setImmediate: false
}
};

Expand Down

0 comments on commit 9fc1b75

Please sign in to comment.