Update and simplify build process

This commit is contained in:
2022-02-10 18:01:32 -05:00
parent 748af6a14f
commit d7ee54fcec
9 changed files with 1247 additions and 133 deletions

View File

@@ -102,7 +102,7 @@ if ( !class_exists('CognitoFormsPlugin') ) {
// Register block editor styles for backend.
wp_register_style(
'cognito-block-editor-css', // Handle.
plugins_url( 'dist/editor.css', __FILE__ ), // Block editor CSS.
plugins_url( 'dist/main.css', __FILE__ ), // Block editor CSS.
array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
null // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.editor.build.css' ) // Version: File modification time.
);