diff --git a/src/Assets.php b/src/Assets.php index 7dff31d0ec7..9d224a05b20 100644 --- a/src/Assets.php +++ b/src/Assets.php @@ -29,8 +29,7 @@ public static function init() { * Register block scripts & styles. */ public static function register_assets() { - self::register_style( 'wc-packages', plugins_url( 'build/packages.css', __DIR__ ) ); - self::register_style( 'wc-block-editor', plugins_url( 'build/editor.css', __DIR__ ), array( 'wp-edit-blocks', 'wc-packages' ) ); + self::register_style( 'wc-block-editor', plugins_url( 'build/editor.css', __DIR__ ), array( 'wp-edit-blocks' ) ); self::register_style( 'wc-block-style', plugins_url( 'build/style.css', __DIR__ ), array( 'wp-components' ) ); // Shared libraries and components across all blocks. diff --git a/webpack.config.js b/webpack.config.js index 23f667b9900..5817d6c3db1 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -74,14 +74,12 @@ const GutenbergBlocksConfig = { findModuleMatch( module, /[\\/]components[\\/]/ ) ), name: 'editor', chunks: 'all', - enforce: true, priority: 10, }, style: { test: /style\.scss$/, name: 'style', chunks: 'all', - enforce: true, priority: 5, }, },