Remove redundant extra webpack entries, we use the existing mini cart contents for now.

This commit is contained in:
Sam Seay 2024-08-29 18:36:01 +08:00
parent fe3e286aae
commit fbd71f323f
No known key found for this signature in database
GPG Key ID: 2223711A9151668A
2 changed files with 1 additions and 5 deletions

View File

@ -167,10 +167,6 @@ const cartAndCheckoutBlocks = {
cart: {}, cart: {},
checkout: {}, checkout: {},
'mini-cart-interactivity': {}, 'mini-cart-interactivity': {},
'mini-cart-interactivity-contents': {
customDir: 'mini-cart-interactivity/mini-cart-contents',
},
'mini-cart': {}, 'mini-cart': {},
'mini-cart-contents': { 'mini-cart-contents': {
customDir: 'mini-cart/mini-cart-contents', customDir: 'mini-cart/mini-cart-contents',

View File

@ -30,7 +30,7 @@ class MiniCartInteractivity extends AbstractBlock {
* *
* @var string * @var string
*/ */
protected $chunks_folder = 'mini-cart-interactivity-contents-block'; protected $chunks_folder = 'mini-cart-contents';
/** /**
* Array of scripts that will be lazy loaded when interacting with the block. * Array of scripts that will be lazy loaded when interacting with the block.