Skip to content

Commit

Permalink
Enqueue debug bundle for 'plugin' development mode
Browse files Browse the repository at this point in the history
  • Loading branch information
DAreRodz committed Apr 5, 2024
1 parent 9e79f90 commit 94eaca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/interactivity-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function gutenberg_reregister_interactivity_script_modules() {

wp_register_script_module(
'@wordpress/interactivity',
gutenberg_url( '/build/interactivity/index.min.js' ),
gutenberg_url( '/build/interactivity/' . ( wp_is_development_mode( 'plugin' ) ? 'debug.min.js' : 'index.min.js' ) ),
array(),
$default_version
);
Expand Down

0 comments on commit 94eaca9

Please sign in to comment.