Releases: preactjs/preset-vite
Releases · preactjs/preset-vite
2.9.0
Features
- Add preview middleware, fixing routing of prerendered HTML files by @rschristian in #132
Fixes
- Support
.cjs
&.mjs
extensions by @rschristian in #129 location.toString
in prerender by @rschristian in #131
Maintenance
- Bump lockfile version to v3 by @rschristian in #133
Full Changelog: 2.8.3...2.9.0
2.8.3
What's Changed
- fix: Devtool flag inconsistencies by @rschristian in #113
- refactor: Use ESBuild in prod if a user does not require Babel by @rschristian in #114
- fix: Ensure
stack-trace
works w/ CJS build by @rschristian in #116 - fix: Ensure sourcemap comments are stripped too by @rschristian in #118
- fix: Sourcemap regex by @rschristian in #120
- Add @babel/code-frame as a dependency by @atikenny in #122
- docs: Fix API mistake in prerender example & show that iso will discover links automatically by @rschristian in #123
- fix: Stub out
__VITE_PRELOAD__
during prerender by @rschristian in #126 - 2.8.3 by @rschristian in #127
New Contributors
Full Changelog: 2.8.2...2.8.3
2.8.2
What's Changed
- fix: Normalize URLs w/ trailing slashes by @rschristian in #104
- feat: Return proper
Response
from patchedfetch
during prerender by @rschristian in #105 - feat: Better prerender errors by @rschristian in #107
- refactor: Clean sourcemaps in newer Vite versions by @rschristian in #109
Full Changelog: 2.8.1...2.8.2
2.8.1
What's Changed
- refactor: Determine prerender script through script attr, rather than lexer by @rschristian in #97
Full Changelog: 2.8.0...2.8.1
2.8.0
What's Changed
- refactor: Disable
transform-hook-names
if devtools aren't enabled by @rschristian in #95 - feat: prerender plugin by @rschristian in #86
Full Changelog: 2.7.0...2.8.0
2.7.0
Features
- Bump peer-depencies to support Vite 5.0.0 and onwards #90 Thanks @JoviDeCroock
Fixes
- Silence Rollup's module-level directives warning #88 Thanks @rschristian
2.6.0
2.5.0
- Update peerDependencies to support Vite 4 by @marco-prontera in #69
- Add some simple tests and GH workflow by @andrewiggins in #66
- Upgrade TypeScript target to ES2019 by @andrewiggins in #67
- Provide options to disable devtools and prefresh by @liamdon in #65
- Mention automatic aliasing as feature in ReadMe by @rschristian in #63
2.4.0
What's Changed
- Update prefresh to support signals by @marvinhagemeister in #58
2.3.1
Bug Fixes
- add named export to improve
"module": "nodenext"
compatibility by @wight554 in #48 - add entries to optimizeDeps by @sapphi-red in #51