Title: Bundle all javascript files with plugin
Last modified: August 21, 2016

---

# Bundle all javascript files with plugin

 *  Resolved [besterlangen](https://wordpress.org/support/users/besterlangen/)
 * (@besterlangen)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/bundle-all-javascript-files-with-plugin/)
 * Hey,
 * I really like the plugin and it is working great so far.
    Just one question: 
   why do you include jquery.validate from an external cdn and not with your script?
   For me it makes more sense to bundle it with the plugin … I’d change it myself
   but I do not want to change plugin code for update compatability.
 * Would be great to streamline it
 * [http://wordpress.org/plugins/wpgform/](http://wordpress.org/plugins/wpgform/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/bundle-all-javascript-files-with-plugin/#post-4296774)
 * I include it from a CDN because adding it to the plugin just makes more stuff
   to manage and update. Including it from the CDN means one line of code to change
   in the plugin. Including the jQuery plugin itself requires a lot more work for
   very little upside. The CDN’s load the jQuery content pretty quickly.
 * Ideally WordPress would include jQuery Validate in the library of code available
   but to date that hasn’t happened. Until it does, I’ll continue to include it 
   from the CDN.

Viewing 1 replies (of 1 total)

The topic ‘Bundle all javascript files with plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpgform_8cc59f.svg)
 * [Google Forms](https://wordpress.org/plugins/wpgform/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpgform/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpgform/)
 * [Active Topics](https://wordpress.org/support/plugin/wpgform/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpgform/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpgform/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/bundle-all-javascript-files-with-plugin/#post-4296774)
 * Status: resolved