Skip to content

Commit

Permalink
Plugins: Fix dependencies provided when registering script
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Jun 20, 2018
1 parent 47afb7c commit 95a05d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ function gutenberg_register_scripts_and_styles() {
wp_register_script(
'wp-plugins',
gutenberg_url( 'build/plugins/index.js' ),
array( 'wp-element', 'wp-components', 'wp-utils', 'wp-data' ),
array( 'lodash', 'wp-element', 'wp-hooks' ),
filemtime( gutenberg_dir_path() . 'build/plugins/index.js' )
);

Expand Down

0 comments on commit 95a05d2

Please sign in to comment.