Skip to content

Releases: emosheeep/vite-plugin-virtual-mpa

vite-plugin-virtual-mpa@1.12.1

08 Aug 06:14
Compare
Choose a tag to compare

Patch Changes

  • 0dd3b4b: feat: Allow EJS extension for template files.
  • chore: upgrade ecosystem dependencies.

vite-plugin-virtual-mpa@1.12.0

19 Jun 13:10
Compare
Choose a tag to compare

Minor Changes

  • 59cfcce: fix: Prevent the Vite dev server from crashing when rendering EJS templates fails
  • chore: upgrade dependencies.

vite-plugin-virtual-mpa@1.11.0

17 Apr 03:10
Compare
Choose a tag to compare

Minor Changes

  • feat: Support configuring response headers for development environment server

vite-plugin-virtual-mpa@1.10.1

18 Feb 13:05
Compare
Choose a tag to compare

Patch Changes

  • fix: The CJS build of Vite's Node API is deprecated warning

vite-plugin-virtual-mpa@1.10.0

10 Feb 08:20
Compare
Choose a tag to compare

Minor Changes

  • feat: add transformHtml hook, merged #56

1.9.3

fix: Built-in matching rules preferentially match longer paths. Closed #52.
chore: Upgrade all of workspace dependencies.

1.9.2

fix: Support root option at development, closed #50.

1.9.1

fix: On windows, when base is set to "" or "./", the output resource path is incorrect. Fixed #43.

1.9.0

feat: Support disable default rewrite rules by passing false. Closed #44.

1.8.3

  • fix: Add cross-platform path parsing support. Closed #41.
  • chore: Update dependencies.

1.8.2

  • feat: Support scanOptions.template option.
  • chore: Update dependencies' version.

1.8.1

  • fix: ERR_TOO_MANY_REDIRECTS when set base option and visit base. Closed #33.
  • feat: Support /dir/ without explicit index.html refer to the implementation of vite.
  • chore: Preserve the priority of clearScreen option provided by user.

1.8.0

  • feat: Add scanOptions to generate pages with a similar directory structure. Closed #29.
  • fix: Can't access assets by url & Prevent ejs syntax error. Closed #30.
  • chore: Remove redundant rewrite rules ensure a correct plugin hook order.

1.7.0

  • feat: Add preview server's history fallback support. Merged #26

1.6.0

  • fix: Warnings appear when build.sourcemap enabled. Closed #19.
  • fix: Page doesn't reload when template file change.
  • feat: Integration of html-minifier-terser. Merged #21.

1.5.0

  • feat: Allow vite handling unmatched paths. Closed #15.

1.4.1

  • fix: Cypress testing process of cross-entry-page jumping hanging, which causing a timeout error. Closed #12.

1.4.0

  • feat: Add createPages utility function to help creating pages configuration independently outside plugin function. Closed #10.

1.3.0

  • feat: inject env variables into ejs template by default. Merged #8.

1.2.2

  • Expose all types for using. Closed #4.

1.2.1

  • Improve typings and add comments for a better prompts

1.2.0

  • Improve typings.

1.2.0-beta.0

  • Add watchOptions to allow users writing custom logic when file events fired. Closed #2.

1.1.0

  • Some backend logic is added to make the proxy work correctly
  • Fix the warning about Could not auto-determine entry point... by add entry path to optimizeDeps.entries
  • More friendly error/log print
  • Improved documentation

1.0.1

  • More friendly typescript type hints

1.0.0

  • Support for virtual html entry file, output multiple files using a single template
  • Support ejs engine.
  • Support connect-history-fallback-api for DevServer to rewrite requests.