diff --git a/packages/dependency-extraction-webpack-plugin/lib/util.js b/packages/dependency-extraction-webpack-plugin/lib/util.js index 55a908c31a7ab9..ee5c2face1b9d1 100644 --- a/packages/dependency-extraction-webpack-plugin/lib/util.js +++ b/packages/dependency-extraction-webpack-plugin/lib/util.js @@ -117,7 +117,7 @@ function defaultRequestToExternalModule( request ) { function defaultRequestToHandle( request ) { switch ( request ) { case '@babel/runtime/regenerator': - return 'wp-polyfill'; + return 'regenerator-runtime'; case 'lodash-es': return 'lodash';