OneClick
OneClick copied to clipboard
Bump vite from 3.0.9 to 3.1.0
Bumps vite from 3.0.9 to 3.1.0.
Release notes
Sourced from vite's releases.
[email protected]
Please refer to CHANGELOG.md for details.
Changelog
Sourced from vite's changelog.
3.1.0 (2022-09-05)
Main Changes
- Vite now uses parse5, which parses HTML in the same way as the latest browser versions. This migration gives us a more robust HTML story moving forward (#9678).
- Vite now supports using objects as hooks to change execution order (#9634). Check out the RFC and the implementation upstream at rollup/rollup#4600 for details and rationale.
Read the updated Rollup Plugin docs for more information.import { resolve } from 'node:path'; import { readdir } from 'node:fs/promises';
export default function getFilesOnDisk() { return { name: 'getFilesOnDisk', writeBundle: { // run this hook sequentially even if the hook is parallel sequential: true, // push this hook to the 'post' stage, after all normal hooks order: 'post', // hook implementation async handler({ dir }) { const topLevelFiles = await readdir(resolve(dir)) console.log(topLevelFiles) } } } }
Note After Vite 3.1, you are no longer going to see
[vite] hot updated
log messages in the browser console. These messages have been moved to the debug channel (#8855). Check your browser docs to show debug logs.Features
- feat(css): format error (#9909) (632fedf), closes #9909
- perf: bundle create-vite (#9034) (37ac91e), closes #9034
- feat: stabilize server.resolvedUrls (#9866) (c3f6731), closes #9866
- feat(client): use debug channel on hot updates (#8855) (0452224), closes #8855
- feat: relax dep browser externals as warning (#9837) (71cb374), closes #9837
- feat: support object style hooks (#9634) (757a92f), closes #9634
- refactor: migrate from vue/compiler-dom to parse5 (#9678) (05b3ce6), closes #9678
- refactor: use
server.ssrTransform
(#9769) (246a087), closes #9769- perf: legacy avoid insert the entry module css (#9761) (0765ab8), closes #9761
Bug Fixes
- fix(css): remove css-post plugin sourcemap (#9914) (c9521e7), closes #9914
- fix(hmr): duplicated modules because of query params mismatch (fixes #2255) (#9773) (86bf776), closes #2255 #9773
- fix(ssr): enable
inlineDynamicImports
when input has length 1 (#9904) (9ac5075), closes #9904- fix(types): mark explicitImportRequired optional and experimental (#9962) (7b618f0), closes #9962
... (truncated)
Commits
b1ad82d
release: v3.1.04158b98
release: v3.1.0-beta.27b618f0
fix(types): mark explicitImportRequired optional and experimental (#9962)86bf776
fix(hmr): duplicated modules because of query params mismatch (fixes #2255) (...091537c
chore!: bump esbuild to 0.15.6 (#9934)8f315a2
chore(deps): update dependency postcss-import to v15 (#9929)9ac5075
fix(ssr): enableinlineDynamicImports
when input has length 1 (#9904)632fedf
feat(css): format error (#9909)c9521e7
fix(css): remove css-post plugin sourcemap (#9914)37ac91e
perf: bundle create-vite (#9034)- 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)
Deploy Preview for awesomeshortcuts ready!
Name | Link |
---|---|
Latest commit | 10041d0e9d77bcd0a72b2c687e4a332c6ebd4abd |
Latest deploy log | https://app.netlify.com/sites/awesomeshortcuts/deploys/63162c1f780710000a57589b |
Deploy Preview | https://deploy-preview-61--awesomeshortcuts.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Superseded by #70.