You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new option useCustom and it's default value is true.
This option can control viteConfig.appType and set it to custom when useCustom is true.And when it is set to false, it will the same as versions 1.1.4 and earlier.
Add a new param to render function
Sometimes,we need use html file name in JS file, but use location.href may be not we want.
For example: www.xxx.com use location.href will get www.xxx.com
When config.appType is SPA, any html not in project root, will fallback to index.html.
So change config.appType to custom to make sure Vite's default html fallback not execute.