mexili / cssify

MIT License
7 stars 9 forks source link

Downloading the generated CSS file #16

Open theshubhagrwl opened 3 years ago

theshubhagrwl commented 3 years ago

The CSS file generated is saved in temp folder but the user should get the file downloaded.

It will be better, when the user clicks the Get CSS button then the CSS file is downloaded instead of getting saved in the temp folder.

I think we should work to add a download CSS feature, that will greatly improve the user experience.

sansyrox commented 3 years ago

@theshubhagrwl , I don't completely understand what you mean by this.

What is the issue with the existing download button?

theshubhagrwl commented 3 years ago

There was nothing downloaded on clicking the Get CSS button. Only new files were created in the temp folder. Is this happening only on my system? 😅

sansyrox commented 3 years ago

I just checked and it is working fine for me. Can you share your debug logs?

theshubhagrwl commented 3 years ago

I have made a small video depicting the issue.

https://user-images.githubusercontent.com/37265683/107125363-8becc100-68cf-11eb-8336-2d934d637dce.mp4

nimit2801 commented 3 years ago

Hey, I've been working on this thanks @theshubhagrwl to open an issue. So I've come up with a solution where it downloads CSS files but not the min.css because minify -> @node-minify/core is not working properly. I would open one more issue for this to fix the min.css too. @sansyrox