Skip to content

Commit

Permalink
Properly define dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
atimmer committed Nov 9, 2018
1 parent 833ceab commit 64acd0c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions 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 @@ -319,7 +319,7 @@ function gutenberg_register_scripts_and_styles() {
gutenberg_override_script(
'wp-annotations',
gutenberg_url( 'build/annotations/index.js' ),
array( 'wp-polyfill', 'wp-data', 'wp-rich-text', 'wp-hooks' ),
array( 'wp-polyfill', 'wp-data', 'wp-rich-text', 'wp-hooks', 'wp-i18n' ),
filemtime( gutenberg_dir_path() . 'build/annotations/index.js' ),
true
);
Expand Down
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions packages/annotations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"dependencies": {
"@babel/runtime": "^7.0.0",
"@wordpress/data": "file:../data",
"@wordpress/hooks": "file:../hooks",
"@wordpress/i18n": "file:../i18n",
"@wordpress/rich-text": "file:../rich-text",
"rememo": "^3.0.0"
},
"publishConfig": {
Expand Down

0 comments on commit 64acd0c

Please sign in to comment.