About reviews and script bundling


Hope you all are doing well and safe.

This questions refers to a WordPress theme

If anyone has done that and passed the review before, is it allowed to bundle all vendor scripts and styles into 1 single minified file to reduce load speed and use a {theme-name-vendor} handle.

I’m also concerned about other plugins using the scripts that are already in my bundle, but the handle would be missing in the theme, so theme ends up in duplicate libraries. Whats the solution to that.

Appreciate the help :slight_smile:

Combining Scripts

Third-party scripts and libraries must not be combined. They must be enqueued individually to ensure that:

  • They are not loaded a second time by a plugin.
  • Users can deregister scripts if required.