Skip to content

Commit

Permalink
Stub node's fs when using webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid Khan committed Feb 16, 2017
1 parent 9fbffa7 commit b5432dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/optimize/base_optimizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class BaseOptimizer {
};

return {
node: { fs: 'empty' },
context: fromRoot('.'),
entry: this.bundles.toWebpackEntries(),

Expand Down

0 comments on commit b5432dd

Please sign in to comment.