Stub node's fs when using webpack (#10411)

This commit is contained in:
Rashid Khan 2017-02-16 14:16:35 -07:00 committed by GitHub
parent c5d3fd5bb2
commit 60b36f7f9a

View file

@ -91,6 +91,7 @@ class BaseOptimizer {
};
return {
node: { fs: 'empty' },
context: fromRoot('.'),
entry: this.bundles.toWebpackEntries(),