Skip to content

Commit

Permalink
fix: allow pass through of node env without setting target to node (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
abutterworth authored Apr 11, 2019
1 parent a826c19 commit 4b48e5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ const UglifyJsPlugin = require('uglifyjs-webpack-plugin');

module.exports = {
devtool: 'source-map',
target: 'node',
optimization: {
nodeEnv: false,
},
node: {
process: false,
},
entry: './src/index.js',
output: {
path: path.resolve(__dirname, 'dist'),
Expand Down

0 comments on commit 4b48e5a

Please sign in to comment.