Let me first explain that this is just one of my ideas and has not been implemented yet.
JS compression? CSS compression?
We have heard of this. js compression and CSS compression are essential for a mature website and a good way to improve website performance.
However, how to edit the compressed JS and CSS?
Okay, you can use an editor that supports automatic JavaScript or CSS formatting to restore it...
Then, compress after editing...
Don't you think it's troublesome?
Solutions under Visual Studio
First look at a picture:
What is this?
A. JS File
Nana ?...
It can be expanded like An ASPX file!
There is also a file. js. source associated with it!
Yes, according to my idea, there will be two files in the folder:. js and. js. Source.
When editing in Vs, edit the. js. source file. Each time it is saved, it will be automatically compressed and put into the. js file.
REFERENCE The. js file on the webpage ~
CSS can also be implemented in the same way
Seek partners
Younger brother is not talented and doesn't understand vs plug-in development. The above is just an assumption. Which of the following friends are willing to cooperate? Let's make such a vs plug-in together?
In addition, if you want to do this separately, contact me ~ After all, creativity also has intellectual property rights ~ I just need to refer to my blog ~