From 415bad14cf2710e663b5fb883fb3376bedcc4c12 Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 15 Apr 2021 14:10:55 +0200 Subject: [PATCH] chore: added a comment for the webpack 5 migration Signed-off-by: blam --- packages/cli/src/lib/bundler/config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/cli/src/lib/bundler/config.ts b/packages/cli/src/lib/bundler/config.ts index 04a9b5aa6c..8c2b3ce95e 100644 --- a/packages/cli/src/lib/bundler/config.ts +++ b/packages/cli/src/lib/bundler/config.ts @@ -114,6 +114,9 @@ export async function createConfig( ); } + // TODO(blam): process is no longer auto polyfilled by webpack in v5. + // we use the provide plugin to provide this polyfill, but lets look + // to remove this eventually! plugins.push( new ProvidePlugin({ process: 'process/browser',