Update path to static files of ACF block. #13

Merged
roman merged 1 commits from wordpress-build into master 2024-05-21 09:44:14 +00:00
Showing only changes of commit 31786581bd - Show all commits
@@ -50,13 +50,13 @@ class <%= blockClassModel %>_Component extends \Core\Component {
'style_assets' => [ 'style_assets' => [
[ [
'name' => 'block-<%= blockFilename %>', 'name' => 'block-<%= blockFilename %>',
'url' => null 'url' => $this->get_assets_path_url( 'templates/styles/<%= blockFilename %>.min.css' ),
] ]
], ],
'script_assets' => [ 'script_assets' => [
[ [
'name' => 'block-<%= blockFilename %>', 'name' => 'block-<%= blockFilename %>',
'url' => null 'url' => $this->get_assets_path_url( 'templates/scripts/<%= blockFilename %>.min.js' ),
] ]
] ]
] ); ] );