The devHtmlTransform plugin option has been removed. Vite's dev HTML transform functionality is now required to support HTML files in dev (HMR) mode. In dev mode, a <base> element with the dev server url for the HTML file is injected into the page. This replaces incomplete custom logic for handling resources in HTML files.
The
devHtmlTransform
plugin option has been removed. Vite's dev HTML transform functionality is now required to support HTML files in dev (HMR) mode. In dev mode, a<base>
element with the dev server url for the HTML file is injected into the page. This replaces incomplete custom logic for handling resources in HTML files.