Skip to content

Releases: 11ty/eleventy-plugin-vite

v6.0.0-alpha.3

11 Nov 06:33
v6.0.0-alpha.3
a0b0144
Compare
Choose a tag to compare
v6.0.0-alpha.3 Pre-release
Pre-release

What's changed

  • Fix passthrough copy of public directory

Full Changelog: v6.0.0-alpha.2...v6.0.0-alpha.3

v5.0.2

11 Nov 06:33
v5.0.2
31a4bae
Compare
Choose a tag to compare

What's changed

  • Fix passthrough copy of public directory

Full Changelog: v5.0.1...v5.0.2

v6.0.0-alpha.2

09 Nov 16:05
v6.0.0-alpha.2
e461bbd
Compare
Choose a tag to compare
v6.0.0-alpha.2 Pre-release
Pre-release

What's Changed

  • Improve error logging

Breaking Changes

  • EleventyVite class constructor (probably rarely used) now needs whole eleventyConfig as first parameter

Full Changelog: v6.0.0-alpha.1...v6.0.0-alpha.2

v5.0.1

09 Nov 15:34
v5.0.1
97e647b
Compare
Choose a tag to compare

What's Changed

  • Force removing temp folder, avoiding false positive about missing temp folder

Full Changelog: v5.0.0...v5.0.1

v6.0.0-alpha.1

07 Nov 20:40
v6.0.0-alpha.1
5c0ad1d
Compare
Choose a tag to compare
v6.0.0-alpha.1 Pre-release
Pre-release

What's Changed

  • Upgrade to Vite v6 beta

Full Changelog: v5.0.0...v6.0.0-alpha.1

v5.0.0

05 Oct 17:37
v5.0.0
1129481
Compare
Choose a tag to compare

What's Changed

  • Multiple Upgrades:
    • Upgrade to Vite v5
    • Upgrade to Eleventy 3
    • Switch to ESM
  • Improvements for Windows file system problems (#22)
  • Throw an error if eleventy output and tempFolder are the same (#23)
  • Release with GitHub Actions and NPM Provenance
  • Add ViteDevServer close on SIGINT (#49)

Breaking Changes:

  • @11ty/eleventy compatibility bumped to >=3.0.0
  • node>=18 necessary
  • vite upgraded to v5
  • Replaced merge from lodash with @11ty/eleventy-utils
    • Behavior may differ partially when merging your vite options
    • E.g. resolve.alias with an array will need to use resolve.override:alias
  • EleventyVite.getServerMiddleware renamed to EleventyVite.getServer which exposes the complete ViteDevServer (#49)

Full Changelog: v4.0.0...v5.0.0

v5.0.0-alpha.5

17 Sep 20:09
v5.0.0-alpha.5
9261ac8
Compare
Choose a tag to compare
v5.0.0-alpha.5 Pre-release
Pre-release

Features

  • Add ViteDevServer close on SIGINT (#49)

BREAKING CHANGES

  • EleventyVite.getServerMiddleware renamed to EleventyVite.getServer which exposes the complete ViteDevServer (#49)

Full Changelog: v5.0.0-alpha.4...v5.0.0-alpha.5

v5.0.0-alpha.4

03 Sep 20:41
v5.0.0-alpha.4
0c0ac41
Compare
Choose a tag to compare
v5.0.0-alpha.4 Pre-release
Pre-release

Features

  • Bump Vite version
  • Throw an error if eleventy output and tempFolder are the same (#23)
  • Release with actions

Fixes

  • Keep tempFolder relative to execution

Full Changelog: v5.0.0-alpha.1...v5.0.0-alpha.4

v5.0.0-alpha.1

27 Jun 21:21
v5.0.0-alpha.1
59595fb
Compare
Choose a tag to compare
v5.0.0-alpha.1 Pre-release
Pre-release

What's Changed

  • Multiple Upgrades:
    • Upgrade to Vite v5
    • Upgrade to Eleventy 3
    • Switch to ESM
  • Possible fixes for Windows path.sep and rename problems

Breaking Changes:

  • @11ty/eleventy compatibility bumped to >=3.0.0-alpha.6
  • node>=18 necessary
  • vite upgraded to v5
  • Replaced merge from lodash with @11ty/eleventy-utils
    • Behavior may differ partially when merging your vite options
    • E.g. resolve.alias with an array will need to use resolve.override:alias

Full Changelog: v4.0.0...v5.0.0-alpha.1

v4.0.0

27 Jan 20:12
Compare
Choose a tag to compare

11ty Logo  Vite logo

Includes everything from just released Eleventy Vite Plugin v2.0.0 and upgrades Vite to v4.0.

Astute readers may notice that we skipped Eleventy Vite Plugin v3.0.0. We’d like to keep this plugin’s major version matching with the Vite major version moving forward—thanks y’all!

Fixes included from Eleventy Vite v2.0.0:

  • Fixed: filter non-HTML files out before Vite transformation #17 #14
  • Fixed: resolve bare specifiers in ESM import #16
  • Fixed: resolve import and <script type="module" src> directly from node_modules
  • Update default vite options for Vite v3 in #12
  • Disables Eleventy’s Dev Server domDiff server feature when this plugin is in use.