Skip to content

Commit

Permalink
Enable WebPack scope hoisting.
Browse files Browse the repository at this point in the history
  • Loading branch information
tech4him1 committed Nov 23, 2017
1 parent 1344fca commit f4cdcf8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webpack.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ module.exports = {
plugins: [
new webpack.IgnorePlugin(/^esprima$/, /js-yaml/), // Ignore Esprima import for js-yaml
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/), // Ignore all optional deps of moment.js

new webpack.optimize.ModuleConcatenationPlugin(),
],
target: 'web', // Make web variables accessible to webpack, e.g. window
};

0 comments on commit f4cdcf8

Please sign in to comment.