Skip to content

Releases: windsonR/vite-plugin-virtual-html

1.1.18

10 Dec 15:17
Compare
Choose a tag to compare

1.1.17

04 Dec 02:56
Compare
Choose a tag to compare

update vite to 5.0

1.1.16

18 Oct 07:46
Compare
Choose a tag to compare

fix: injectCode not worked as expect

When use * and specify html in injectCode config, only specify html will work!

1.1.15

11 Oct 08:07
Compare
Choose a tag to compare

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

16 Aug 01:22
bbb3b42
Compare
Choose a tag to compare

Merge #31

1.1.13

11 Aug 08:50
Compare
Choose a tag to compare

add new option to historyApiFallbackPlugin
now, plugin can use preview mode's configurePreviewServer hook.

1.1.12

11 Jul 07:29
Compare
Choose a tag to compare

Fix issue when build template,the Vite config may not transfer into buildConfig

1.1.11

06 Jul 02:28
Compare
Choose a tag to compare

When check html file's parent directory, now it will use config.root.
fix: #29

1.1.10

21 Jun 02:42
Compare
Choose a tag to compare
1.1.10

1.1.9

19 May 07:33
Compare
Choose a tag to compare

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.