matthiasmullie / minify

CSS & JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.
https://matthiasmullie.github.io/minify/
MIT License
1.96k stars 310 forks source link

Error minifying particular input #364

Open jonlutz79 opened 3 years ago

jonlutz79 commented 3 years ago

The minification fails with both of the below inputs:

INPUT 1: return await input.buttonAsync(`Select ${field.name}`, buttonOptions);

INPUT 2: function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); }

Any idea what the issue is in both of these cases?