Skip to content

Releases: windsonR/vite-plugin-virtual-html

1.2.1

09 Oct 05:52
0a6b05e
Compare
Choose a tag to compare
Update package.json

1.2.0

09 Oct 03:34
8aa85ca
Compare
Choose a tag to compare
  1. Drop support for cjs!!!
  2. 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

1.1.20

13 Sep 02:27
7869496
Compare
Choose a tag to compare
  1. In dev mode, when configure html file is not exists, server will directly return 404 and abort request.
  2. Use types from connect-history-api-fallback
  3. use createFilter to filter html file.

1.1.18

10 Dec 15:17
Compare
Choose a tag to compare

Fix #36

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