Releases: windsonR/vite-plugin-virtual-html
Releases · windsonR/vite-plugin-virtual-html
1.1.18
1.1.17
1.1.16
1.1.15
According to Vite's CHANGELOG.md
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.
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
Add a new option to plugin
urlTransformer
This is a function which allow developer fully control plugin's url generate function.
This means:
- Maybe you can access
http://localhost:5173/demo.html
, but through this function, it can change to/demo2.html
or others. - Maybe when you have context, this function also can help you to remove (or add) the context.