vbenjs / vite-plugin-html

A vite plugin for processing html. It is developed based on lodash template
MIT License
587 stars 96 forks source link

can i output html to disk when i use dev server #13

Closed u373693041 closed 2 years ago

u373693041 commented 3 years ago

just lisk alwaysWriteToDisk in htmlWebpackPlugin

anncwb commented 3 years ago

The html of vite itself is on the disk, what do you need?

u373693041 commented 3 years ago

The html of vite itself is on the disk, what do you need?

my web server is provided by php, so i want to output the html which is compiled by the plugin to the php project when i use dev server, can i use the plugin to finish it? thank you

anncwb commented 3 years ago

Can you give me a simple example