Merge pull request 'Update path to static files of ACF block.' (#13) from wordpress-build into master

Reviewed-on: #13
This commit was merged in pull request #13.
This commit is contained in:
2024-05-21 09:44:13 +00:00
@@ -50,13 +50,13 @@ class <%= blockClassModel %>_Component extends \Core\Component {
'style_assets' => [
[
'name' => 'block-<%= blockFilename %>',
'url' => null
'url' => $this->get_assets_path_url( 'templates/styles/<%= blockFilename %>.min.css' ),
]
],
'script_assets' => [
[
'name' => 'block-<%= blockFilename %>',
'url' => null
'url' => $this->get_assets_path_url( 'templates/scripts/<%= blockFilename %>.min.js' ),
]
]
] );