woocommerce / woocommerce-blocks

(Deprecated) This plugin has been merged into woocommerce/woocommerce
https://wordpress.org/plugins/woo-gutenberg-products-block/
GNU General Public License v3.0
407 stars 219 forks source link

JavaScript errors when using a plugin that minifies JS files #762

Closed Aljullu closed 5 years ago

Aljullu commented 5 years ago

Reported several times in the support forums:

To Reproduce

  1. Install WooCommerce Blocks.
  2. Install Autoptimize.
  3. Create a post with a Product Categories List block.
  4. View the post in the frontend and notice there are JS errors in the console.
issue-label-bot[bot] commented 5 years ago

Issue-Label Bot is automatically applying the label type: bug to this issue, with a confidence of 0.99. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

mikejolley commented 5 years ago

https://github.com/futtta/autoptimize/issues/263#issuecomment-514554041

This is out of our hands afaik. Adding an exclusion rule for lodash is a workaround.