Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Commit

Permalink
Change blocks.style.build.css dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-bajer authored Feb 17, 2020
1 parent f257fe4 commit f24100b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cgb-scripts/template/src/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function <% blockNamePHPLower %>_cgb_block_assets() { // phpcs:ignore
wp_register_style(
'<% blockNamePHPLower %>-cgb-style-css', // Handle.
plugins_url( 'dist/blocks.style.build.css', dirname( __FILE__ ) ), // Block style CSS.
is_admin() ? array( 'wp-editor' ) : null, // Dependency to include the CSS after it.
array( 'wp-block-library' ), // Dependency to include the CSS after it.
null // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.style.build.css' ) // Version: File modification time.
);

Expand Down

0 comments on commit f24100b

Please sign in to comment.