Title: Nice start; resource loading needs work
Last modified: August 27, 2025

---

# Nice start; resource loading needs work

 *  [norabrown212](https://wordpress.org/support/users/norabrown212/)
 * (@norabrown212)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/nice-start-resource-loading-needs-work/)
 * This is a promising start for a Splide.js carousel block! Lots of configuration“
   the Gutenberg way” and things my clients would like, such as setting arrow and
   pagination colors. But, I don’t think the resource (JS) loading is being done
   correctly. For one thing, it loads all the JS regardless of whether a page uses
   the plugin’s block. Second, it seems to load a whole bunch of stuff rather than
   just Splide.js. For example my dev site loads 3 JS files without the plugin active.
   With it active (though not in use), it loads 17 files. I think maybe the build
   process is off?…some of them seem like they would be needed for development only.
   Anyway, I hope the author continues to refine!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Groundworx](https://wordpress.org/support/users/alexandrie/)
 * (@alexandrie)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/nice-start-resource-loading-needs-work/#post-18616745)
 * Thanks so much for the thoughtful review! I double-checked the plugin’s asset
   loading with Chrome DevTools, on pages without the Carousel block no Splide or
   plugin JS is enqueued, and on pages with the block only its view script and CSS
   load. In the editor WordPress does load the block’s editor bundles so it shows
   up in the inserter, which is expected behavior. Since I wasn’t able to reproduce
   the extra files you described, could you let me know which theme you were using
   when you tested? That would help me look into it further.
 * I also appreciated your note about client-friendly controls. I’m already working
   on an update that will add options for customizing arrow and pagination styles
   directly in the block sidebar, so you won’t need CSS tweaks for those. Thanks
   again for the feedback, it helps me refine and improve the plugin!
 *  Thread Starter [norabrown212](https://wordpress.org/support/users/norabrown212/)
 * (@norabrown212)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/nice-start-resource-loading-needs-work/#post-18617599)
 * Thanks for your response! You’re right something curious is going on. If I switch
   to the 2025 theme, it does _not_ load extra scripts on _every page/post_. However,
   if I add a carousel, it does load way more than just the view.js file. In fact,
   it doesn’t load view.js but script.js, and a bunch of others I would expect to
   see only on the admin side.
 * I wish I could add an image here of the list of requests…it’s react, react-jsx-
   runtime, hooks, react-dom…etc.
 * On my custom theme though, it loads these on every page regardless of whether
   there is a carousel or not. That’s odd isn’t it? I’m on WP 6.8.1, using an incognito
   window. I thought *maybe* it was because I have debugging turned on but it happens
   even when I have it off.
 * Let me know if there’s a way we could connect outside of this forum, if I can
   provide any extra information.
 *  Plugin Author [Groundworx](https://wordpress.org/support/users/alexandrie/)
 * (@alexandrie)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/nice-start-resource-loading-needs-work/#post-18617934)
 * please feel free to send me an email [support@groundworx.dev](https://wordpress.org/support/topic/nice-start-resource-loading-needs-work/support@groundworx.dev?output_format=md)
   
   lets see if we can troubleshoot together.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Nice start; resource loading needs work’ is closed to new replies.

 * ![](https://ps.w.org/groundworx-carousel/assets/icon-256x256.jpg?rev=3468042)
 * [Groundworx Carousel](https://wordpress.org/plugins/groundworx-carousel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/groundworx-carousel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/groundworx-carousel/)
 * [Active Topics](https://wordpress.org/support/plugin/groundworx-carousel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/groundworx-carousel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/groundworx-carousel/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Groundworx](https://wordpress.org/support/users/alexandrie/)
 * Last activity: [9 months, 3 weeks ago](https://wordpress.org/support/topic/nice-start-resource-loading-needs-work/#post-18617934)