BP-4041 Buckaroo enqueues Gutenberg block JS files even when no block theme is used. #302
Labels
Priority: Normal
This issue has a normal/medium priority.
Status: Backlog
This is currently on our backlog and not scheduled yet.
Issue
Buckaroo makes Wordpress load the Gutenberg block JS files on all pages, regardless of if a block theme is used or not.
The effect of the issue
We use a non-FSE theme. Still all Gutenberg JS files now get enqueued on all pages because of the Buckaroo plugin, even though these files won't get used. This causes 30+ unneccesary JS files to load on all of our pages which isn't optimal for our Core Web Vitals metrics.
The fix
A potential solution to the issue would be for Buckaroo to add a settings option where the user can select if they want to make use of the classic or block payment gateway. If classic gets chosen, no of the Gutenberg JS files need to be loaded.
The text was updated successfully, but these errors were encountered: