Support

Home Forums Event Espresso Premium Large ee-vendor-XXX.dist.js file

Large ee-vendor-XXX.dist.js file

Posted: June 10, 2019 at 3:23 pm

Viewing 1 reply thread


ATD Cascadia Chapter

June 10, 2019 at 3:23 pm

I have a file on my site that’s loading that’s 1.16mb’s called ee-vendor-XX.dist.js. That’s a bit big… is there a way to remove this file or reduce it in size?

The file in question and path are : /plugins/event-espresso-core-reg/assets/dist/ee-vendor.476e4d258c1755022b11.dist.js


Josh

  • Support Staff

June 10, 2019 at 4:11 pm

You can add the following code to your site to remove it:

add_filter(
    'FHEE__EE_System__canLoadBlocks',
    '__return_false'
);

You can add the above to a functions plugin.

Please note that the above is only safe to remove if you’re not using an Event Espresso Gutenberg block (currently the attendee block is available, but more blocks and features are planned).

Viewing 1 reply thread

The support post ‘Large ee-vendor-XXX.dist.js file’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso