Skip to content

Commit

Permalink
Build Tools: Fix the package plugin script (#6463)
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Apr 27, 2018
1 parent 4b80d92 commit 01388cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/get-vendor-scripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,17 @@

// Hacks to get lib/client-assets.php to load.
define( 'ABSPATH', dirname( dirname( __FILE__ ) ) );

/**
* Hi, phpcs
*/
function add_action() {}

/**
* Hi, phpcs
*/
function wp_add_inline_script() {}

// Instead of loading script files, just show how they need to be loaded.
define( 'GUTENBERG_LIST_VENDOR_ASSETS', true );

Expand Down

0 comments on commit 01388cb

Please sign in to comment.