Skip to content

Commit

Permalink
add stream to fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-burel committed Sep 28, 2021
1 parent e6326e9 commit bd1de65
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/@vulcanjs/webpack/extendWebpackConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ const extendWebpackConfig = (environment) => (webpackConfig) => {
// @see https://github.com/angular/angular-cli/issues/20819
// TODO: this is the sign of a server code leak, investigate if still needed
// after we get rid of those leaks (O9/2021)
webpackConfig.resolve.fallback = { events: false, path: false };
webpackConfig.resolve.fallback = {
events: false,
path: false,
stream: false,
};

withMagicImports(webpackConfig);
return webpackConfig;
Expand Down

0 comments on commit bd1de65

Please sign in to comment.