We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should probably utilise a Web Worker to perform the minification in a separate thread.
The text was updated successfully, but these errors were encountered:
I've done some experimenting on my own minifier-in-a-browser (https://github.com/tom-sherman/yet-another-js-online-minifier)
Turns out that only some of the freeze up is caused by the minification, the rest is caused by just pasting large amounts of text into an input.
In my version, I solved the freezing issue completely by doing two things:
terser
CodeMirror sidesteps the paste-jank by virtualising all of the code lines and only rendering to the DOM those that are on screen.
Sorry, something went wrong.
Sorry for the late reply. This seems like a great idea. If you'd like to submit a pull request, I'd be happy to merge it.
No branches or pull requests
Should probably utilise a Web Worker to perform the minification in a separate thread.
The text was updated successfully, but these errors were encountered: