Skip to content

Commit

Permalink
Fix vendor extracted js modules not available in editor. Fixes #2370
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyc committed Dec 25, 2019
1 parent 4113192 commit 5994a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
wp_register_script(
'sage/editor.js',
asset('scripts/editor.js')->uri(),
$manifest['dependencies'],
array_merge($manifest['dependencies'], ['sage/vendor.js']),
$manifest['version']
);
}
Expand Down

0 comments on commit 5994a0c

Please sign in to comment.