Skip to content

Commit

Permalink
Fix router module name inside DEWP
Browse files Browse the repository at this point in the history
  • Loading branch information
DAreRodz committed Jan 24, 2024
1 parent 4e9d82a commit f42d597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dependency-extraction-webpack-plugin/lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function defaultRequestToExternalModule( request ) {
return `module ${ request }`;
}

if ( request === '@wordpress/interactivity-router' ) {
if ( request === '@wordpress/interactivity/router' ) {
// Assumes this is usually giong to be used as a dynamic import.
return `import ${ request }`;
}
Expand Down

0 comments on commit f42d597

Please sign in to comment.