circlecell/jscompress.com

Feature request: Download compressed.js directly

Closed this issue · 3 comments

Currently click on Download will download jscompress-result.zip containing compressed.js .
I propose to download it directly as compressed.js, know that you can simply use HTML5 element attribute download="compressed.js" for it, examples in https://www.w3schools.com/tags/att_a_download.asp

Spec details https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#Attributes

@finom did the fix already landed? It still keeps downloading zip file after compressed pasted single JS file code.

finom commented

@laukstein not yet, I'm getting deployment issues. The new version is going to be landed soon.

finom commented

Everything is good now.