Combine already minified JS file without minifying again?
-
I’ve got a plugin with an already minified JS file (WP Recipe Maker Premium’s public-elite.js). For whatever reason, one of the functions in this JS file looks for a starting comment (‘/*’) to do something which isn’t relevant here. However, this comment string in the middle of the file causes the minification parser to incorrectly strip out the rest of the JS file after that point resulting in a broken combined/minified file. I’ve worked around this for now by excluding that JS file from optimization but I’d like to know if there is a way to add it into the combined JS file without it also going through the minifier. Any thoughts appreciated.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Combine already minified JS file without minifying again?’ is closed to new replies.