Skip to content

Releases: windsonR/vite-plugin-virtual-html

1.2.4

11 Mar 01:21
88c67a2

Choose a tag to compare

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.

1.2.2

13 Jan 09:32
81785da

Choose a tag to compare

Fix an unknown issue(DO NOT KNOW WHY) cause when use vite-plugin-inspect,the inspectpage will show nothing(white page)

Full Changelog: 1.2.1...1.2.2

1.2.1

09 Oct 05:52
0a6b05e

Choose a tag to compare

Update package.json

1.2.0

09 Oct 03:34
8aa85ca

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

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

Choose a tag to compare

Fix #36

1.1.17

04 Dec 02:56

Choose a tag to compare

update vite to 5.0

1.1.16

18 Oct 07:46

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

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

Choose a tag to compare

Merge #31