From 112c528ff571d4396b6f5ba1c7c4e770bcc45ad3 Mon Sep 17 00:00:00 2001 From: rayelliott Date: Sun, 10 May 2020 15:36:13 +0000 Subject: [PATCH] use index.js, not block.js --- UltiSnips/php.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UltiSnips/php.snippets b/UltiSnips/php.snippets index 61e6824..1efa075 100644 --- a/UltiSnips/php.snippets +++ b/UltiSnips/php.snippets @@ -12,7 +12,7 @@ function ${1:plugin_name}_register_block() { wp_register_script( '${1/_/-/g}-${2:block-name}', - plugins_url( '$2/build/block.js', __FILE__ ), + plugins_url( '$2/build/index.js', __FILE__ ), $asset_file['dependencies'], $asset_file['version'] );