With vite-plugin-compressindex.html does not need to be updated because the names of compressed files are don't change, and so the links in index.html do not need to be changed.
But gzipping the files means that new files are created, and the links to the new files need to be corrected in index.html.
With
vite-plugin-compress
index.html
does not need to be updated because the names of compressed files are don't change, and so the links inindex.html
do not need to be changed.But gzipping the files means that new files are created, and the links to the new files need to be corrected in
index.html
.