Skip to content

Commit

Permalink
Add interacitivty-router script dependency on a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Sep 10, 2024
1 parent 7e76721 commit 672d078
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/interactivity-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ function gutenberg_reregister_interactivity_script_modules() {
wp_register_script_module(
'@wordpress/interactivity-router',
gutenberg_url( '/build-module/interactivity-router/index.min.js' ),
array( '@wordpress/interactivity' ),
array(
array( 'id' => '@wordpress/a11y', 'import' => 'dynamic' ),
'@wordpress/interactivity',
),
$default_version
);
}
Expand Down

0 comments on commit 672d078

Please sign in to comment.