copy-title-and-url-as-markdown
copy-title-and-url-as-markdown copied to clipboard
build(deps-dev): bump vite from 2.9.16 to 3.0.0
Bumps vite from 2.9.16 to 3.0.0.
Changelog
Sourced from vite's changelog.
3.0.0 (2022-07-13)
Main Changes
Vite 3 is out! Read the Vite 3 Announcement blog post
- New docs theme using VitePress v1 alpha: https://vitejs.dev
- Vite CLI
- The default dev server port is now 5173, with the preview server starting at 4173.
- The default dev server host is now
localhost
instead of127.0.0.1
.- Compatibility
- Vite no longer supports Node v12, which reached its EOL. Node 14.18+ is now required.
- Vite is now published as ESM, with a CJS proxy to the ESM entry for compatibility.
- The Modern Browser Baseline now targets browsers which support the native ES Modules and native ESM dynamic import and
import.meta
.- JS file extensions in SSR and lib mode now use a valid extension (
js
,mjs
, orcjs
) for output JS entries and chunks based on their format and the package type.- Architecture changes
- Vite now avoids full reload during cold start when imports are injected by plugins in while crawling the initial statically imported modules (#8869).
- Vite uses ESM for the SSR build by default, and previous SSR externalization heuristics are no longer needed.
import.meta.glob
has been improved, read about the new features in the Glob Import Guide- The WebAssembly import API has been revised to avoid collisions with future standards. Read more in the WebAssembly guide
- Improved support for relative base.
- Experimental Features
- Build Advanced Base Options
- HMR Partial Accept
- Vite now allows the use of esbuild to optimize dependencies during build time avoiding the need of
@rollup/plugin-commonjs
, removing one of the difference id dependency handling between dev and prod.- Bundle size reduction
- Terser is now an optional dependency. If you use
build.minify: 'terser'
, you'll need to install it (npm add -D terser
)- node-forge moved out of the monorepo to
@vitejs/plugin-basic-ssl
- Options that were already deprecated in v2 have been removed.
Note Before updating, check out the migration guide from v2
Features
- feat: expose server resolved urls (#8986) (26bcdc3), closes #8986
- feat: show ws connection error (#9007) (da7c3ae), closes #9007
- docs: update api-javascript (#8999) (05b17df), closes #8999
- refactor: opt-in optimizeDeps during build and SSR (#8965) (f8c8cf2), closes #8965
- refactor!: move basic ssl setup to external plugin, fix #8532 (#8961) (5c6cf5a), closes #8532 #8961
- feat: avoid scanner during build and only optimize CJS in SSR (#8932) (339d9e3), closes #8932
- feat: improved cold start using deps scanner (#8869) (188f188), closes #8869
- feat: ssr.optimizeDeps (#8917) (f280dd9), closes #8917
- feat: support import assertions (#8937) (2390422), closes #8937
- feat: accept AcceptedPlugin type for postcss plugin (#8830) (6886078), closes #8830
- feat: ssrBuild flag in config env (#8863) (b6d655a), closes #8863
- feat: experimental.renderBuiltUrl (revised build base options) (#8762) (895a7d6), closes #8762
- feat: respect esbuild minify config for css (#8811) (d90409e), closes #8811
- feat: use esbuild supported feature (#8665) (2061d41), closes #8665
... (truncated)
Commits
427ba26
chore: 3.0 release notes and bump peer deps (#9072)b8c625c
release: v3.0.07662998
fix: prevent production node_env in serve (#9066)f020066
chore: include 2.9.13-2.9.14 changelog in main (#9053)45b8b53
fix: remove ws is already closed error (#9041)e372693
fix: reload on restart with middleware mode (fixes #9038) (#9040)e685de3
release: v3.0.0-beta.1026bcdc3
feat: expose server resolved urls (#8986)6342140
chore(deps): update all non-major dependencies (#9022)e2a6bf4
chore: ignore ts warning (#9015)- 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 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) You can disable automated security fix PRs for this repo from the Security Alerts page.