Automattic / vip-cookie-banner

4 stars 0 forks source link

Loading unnecessary JS on front-end #7

Open dabowman opened 1 year ago

dabowman commented 1 year ago

The plugin seems to be loading wp-components on the front-end, which it doesn't need. It's loading a ton of JS and causing performance issues. It's listed as a dependency in the built files like privacy-consent-banner.asset.php but I can't find references to it in the source. I'm guessing it's getting added as a dependency by webpack. Might be tied to the @wordpress/block-editor dependency.