Is your feature request related to a problem? Please describe.
I'm trying to integrate Vite into a framework. The rigid index.html unfortunately makes this impossible.
The framework itself needs to transform index.html while 3rd part integrations require hacks to work with index.html in the project root.
Describe the solution you'd like
Providing a path option for index.html and apply transforms during build.
Describe alternatives you've considered
I tried centering the framework around Vite's index.html convention, but had to give up as it broke compatibility with other integrations.
Additional context
Hardcoding file structures when there's no technical requirement should always be avoided IMO. Good practices may be intended, but any value is lost when the price is incompatibility and ugly hacks.
Is your feature request related to a problem? Please describe.
I'm trying to integrate Vite into a framework. The rigid
index.htmlunfortunately makes this impossible.The framework itself needs to transform
index.htmlwhile 3rd part integrations require hacks to work withindex.htmlin the project root.Describe the solution you'd like
Providing a path option for
index.htmland apply transforms during build.Describe alternatives you've considered
I tried centering the framework around Vite's
index.htmlconvention, but had to give up as it broke compatibility with other integrations.Additional context
Hardcoding file structures when there's no technical requirement should always be avoided IMO. Good practices may be intended, but any value is lost when the price is incompatibility and ugly hacks.