Plugin hooks ssr param to object in resolveId, load, and transform (#5253)
Previous to this release, the ssr param was passed as a boolean in the last parameter of each hook. The new interface for these hooks is now:
In your plugins, you can check if the last param is a boolean or an object to be backward compatible with 2.6 and give some time to users to migrate to Vite 2.7.
server.pluginContainer options object for resolveId, load, and transform (#5294)
Normalize scripts and commands naming (#5207)
Adds a new vite dev command alias for vite serve, preparing for the new release of create-vite where package scripts are renamed to dev, build, and preview.
Align experimental preview api (#5407)
This API was first introduced in 2.6 and it is still in flux.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps vite from 2.6.14 to 2.7.1.
Release notes
Sourced from vite's releases.
Changelog
Sourced from vite's changelog.
... (truncated)
Commits
b625a2c
release: v2.7.179aa687
fix(ssr):ssrTransform
handling for empty ArrayPattern (#5988)1102789
chore: update changelog for 2.7 (#5985)075128a
release: v2.7.08184feb
feat: exposessrTransform
to server (#5983)49f28e2
release: v2.7.0-beta.11a47b663
fix(ssr): allow primitive default exports and forwarded exports (#5973)aaa26a3
release: v2.7.0-beta.1021d79d7
fix: SSR import in dev can't resolve default import (fix #5706) (#5923)7edabb4
fix: read the correct package.json in ssrExternal (#5927)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)