Skip to content

Commit

Permalink
Add DEWP to plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
DAreRodz committed Jan 24, 2024
1 parent f42d597 commit f7596c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/webpack/interactivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
*/
const { join } = require( 'path' );
const CopyWebpackPlugin = require( 'copy-webpack-plugin' );
/**
* WordPress dependencies
*/
const DependencyExtractionWebpackPlugin = require( '@wordpress/dependency-extraction-webpack-plugin' );

/**
* Internal dependencies
Expand Down Expand Up @@ -78,6 +82,7 @@ module.exports = {
},
],
} ),
new DependencyExtractionWebpackPlugin(),
],
watchOptions: {
ignored: [ '**/node_modules' ],
Expand Down

0 comments on commit f7596c2

Please sign in to comment.