Title: Merging javascript files breaks my site
Last modified: November 16, 2018

---

# Merging javascript files breaks my site

 *  Resolved [nordicnatcasino](https://wordpress.org/support/users/nordicnatcasino/)
 * (@nordicnatcasino)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/merging-javascript-files-breaks-my-site/)
 * Hello
 * I have a problem, when I merge my JavaScript files in swift performance pro some
   functions stop working, like for example Slider revolution and other plugins.
   
   I saw that you could exclude JavaScript but how? Do I need to put a path to the
   JavaScript in that box?
 * Sounds stupid because there are like 30 JavaScript files in the revolution slider
   plugin alone.
 * Please help… how do I merge JavaScript files without breaking the site?
 * Cheers

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

 *  Plugin Contributor [Fred](https://wordpress.org/support/users/fredawd/)
 * (@fredawd)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/merging-javascript-files-breaks-my-site/#post-10889073)
 * As you have pro version you can open a support ticket to get free support 🙂
 * Without viewing and have access to your website nobody can´t tell which specific
   script is conflicting. You need to find the file which conflicting.
 * In exclude scripts you can define that file you want to exclude from merging.
 * Hope it helps.
 *  Thread Starter [nordicnatcasino](https://wordpress.org/support/users/nordicnatcasino/)
 * (@nordicnatcasino)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/merging-javascript-files-breaks-my-site/#post-10889215)
 * Thanks for a fast reply but I can’t open a ticket because the support is for 
   only 6 or 12 months after purchasing I believe and I have hand this plugin for
   longer than that.
 * I just wonder how do I exclude the file so it is properly excluded? do I write
   the whole path like this:
 * [https://website.com/plugins/revslider/java.js](https://website.com/plugins/revslider/java.js)
 * or is there some other way?
 * Thanks in advance for the help.
 *  Plugin Contributor [Fred](https://wordpress.org/support/users/fredawd/)
 * (@fredawd)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/merging-javascript-files-breaks-my-site/#post-10889230)
 * Why didn´t you extend your license? Since there are already so many updates with
   nice features?
 * As you know Black Friday is coming soon and I think you could benefit from amazing
   discounts.
 * Did you read the Faq on Swift´s website? You can find al kinds of questions with
   answers there.
 * to exclude the file from your example, use this line:
    /revslider/java.js
 *  Thread Starter [nordicnatcasino](https://wordpress.org/support/users/nordicnatcasino/)
 * (@nordicnatcasino)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/merging-javascript-files-breaks-my-site/#post-10890640)
 * Thanks Fred, I will try that and see if it helps

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

The topic ‘Merging javascript files breaks my site’ is closed to new replies.

 * ![](https://ps.w.org/swift-performance-lite/assets/icon-256x256.jpg?rev=2388229)
 * [Swift Performance Lite](https://wordpress.org/plugins/swift-performance-lite/)
 * [Support Threads](https://wordpress.org/support/plugin/swift-performance-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/swift-performance-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/swift-performance-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/swift-performance-lite/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [nordicnatcasino](https://wordpress.org/support/users/nordicnatcasino/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/merging-javascript-files-breaks-my-site/#post-10890640)
 * Status: resolved