Bumps vite from 2.4.4 to 2.7.2.
Release notes
Sourced from vite's releases.
<h2>create-vite@2.7.2</h2>Please refer to CHANGELOG.md for details.
<h2>create-vite@2.7.1</h2>Please refer to CHANGELOG.md for details.
<h2>create-vite@2.7.0</h2>Please refer to CHANGELOG.md for details.
Changelog
Sourced from vite's changelog.
<h2>2.7.2 (2021-12-13)</h2> <h3>Bug Fixes</h3><h2>2.7.1 (2021-12-07)</h2> <h3>Bug Fixes</h3> <h1>2.7.0 (2021-12-07)</h1>
- html: empty script (#6057) (1487223)
- lexGlobPattern: edge case of glob import (#6022) (
d4c5cff)- ws types (#6083) (
1ded1a8)<h3>BREAKING CHANGES</h3>
- 🎉 Revamped SSR dependency handling
- 🧩 API consolidation
- 🛑 server.fs.strict by default
server.fs.strictistrueby default (#5341) See server filesystem restriction docs for more details.- Plugin hooks
ssrparam to object inresolveId,load, andtransform(#5253) Previous to this release, thessrparam was passed as abooleanin the last parameter of each hook. The new interface for these hooks is now: <pre lang="ts">export interface Plugin extends RollupPlugin { // ... other hooks resolveId?(this: PluginContext, source: string, importer: string | undefined, options: { custom?: CustomPluginOptions; ssr?: boolean; }): Promise<ResolveIdResult> | ResolveIdResult; load?(this: PluginContext, id: string, options?: { ssr?: boolean; }): Promise<LoadResult> | LoadResult; transform?(this: TransformPluginContext, code: string, id: string, options?: { ssr?: boolean; }): Promise<TransformResult> | TransformResult; }</pre> 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.pluginContaineroptions object forresolveId,load, andtransform(#5294)- Normalize scripts and commands naming (#5207)
... (truncated)
Commits
release: v2.7.23e71100fix: ws types (#6083)1ded1a81487223fix(html): empty script (#6057)fix(lexGlobPattern): edge case of glob import (#6022)d4c5cffchore: use node tsconfig in all src/node builds (#6019)8161d4arelease: v2.7.1b625a2cfix(ssr):79aa687ssrTransformhandling for empty ArrayPattern (#5988)1102789chore: update changelog for 2.7 (#5985)release: v2.7.0075128afeat: expose8184febssrTransformto server (#5983)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)