Skip to content
Prev Previous commit
Simplify DEWP test
Co-authored-by: Jon Surrell <[email protected]>
  • Loading branch information
sgomes and sirreal committed Sep 18, 2024
commit 28f1b5b308a62098f0e1e253cb734c83b2fa1356
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,5 @@
const DependencyExtractionWebpackPlugin = require( '../../..' );

module.exports = {
plugins: [
new DependencyExtractionWebpackPlugin( {
requestToExternalModule( request ) {
return request.startsWith( '@wordpress/' );
},
} ),
],
plugins: [ new DependencyExtractionWebpackPlugin() ],
};