Skip to content

Commit

Permalink
webpack.config.js: Set node: false
Browse files Browse the repository at this point in the history
Makes the JavaScript bundles a tiny bit smaller.

(Requires the useBuiltIns option of @babel/preset-env due to
babel/babel#9232.)

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
  • Loading branch information
andersk committed Dec 24, 2018
1 parent e407dee commit a7aad01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webpack.config.js
Expand Up @@ -47,6 +47,7 @@ module.exports = {
}
}]
},
node: false,
optimization: {
minimizer: [
new OptimizeCssAssetsPlugin,
Expand Down

0 comments on commit a7aad01

Please sign in to comment.