Skip to content

How to minify JS and ignore errors #700

Answered by bdkjones
polycode-nz asked this question in Q&A
Discussion options

You must be logged in to vote

No, that isn't possible. If the minifier is throwing errors, that means it can't correctly parse the JS you're trying to minify, which means it can't create minified JS. There is no way to take JS-with-errors and turn it into minified-JS-with-errors.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@polycode-nz
Comment options

Answer selected by polycode-nz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants