Sometimes it happens that one missing character in a huge js file ruins the whole minification magic. Is there any tool that can check if js file can be compressed without errors prior to compression itself and of course point out where that potential problem is.
Share
Rather than simply validating your code, it’s better to use a tool that helps you keep your code clean and organized.
JSLint and JSHint can both be used to help keep your code clean. If it’s clean, it’ll work in a minifier.