Skip to content

Commit

Permalink
Simplify DEWP test
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Surrell <[email protected]>
  • Loading branch information
sgomes and sirreal committed Sep 18, 2024
1 parent 91eb78d commit 28f1b5b
Showing 1 changed file with 1 addition and 7 deletions.
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() ],
};

0 comments on commit 28f1b5b

Please sign in to comment.