Bump vite from 3.1.7 to 3.2.0
Created by: dependabot[bot]
Bumps vite from 3.1.7 to 3.2.0.
Release notes
Sourced from vite's releases.
create-vite@3.2.0
Please refer to CHANGELOG.md for details.
Changelog
Sourced from vite's changelog.
3.2.0 (2022-10-26)
Main Changes
Multiple Entries for Library Mode
Library mode now supports multiple entries:
lib: { entry: { primary: 'src/index.ts', secondary: 'src/secondary.ts' }, formats: ['es', 'cjs'] } // => primary.es.js, primary.cjs.js, secondary.es.js, secondary.cjs.js
Check out the PR #7047, and the
build.lib
config docs
build.modulePreload
optionsVite now allows filtering and modifying module preload dependencies for each entry and async chunk.
experimental.renderBuiltUrl
will also get called for preload asset paths. Andbuild.modulePreload.resolveDependencies
will be called both for JS dynamic imports preload lists and also for HTML preload lists for chunks imported from entry HTML files. Refer to the PR for more context #9938 and check out the modulePreload config docs. Note:build.modulePreloadPolyfill
is now deprecated, please migrate tobuild.modulePreload.polyfill
.Include Duplicate Assets in the Manifest
Laravel and other backends integrations will now get entries for every asset file, even if they have been de-duplicated. See #9928 for more information.
Customizable ErrorOverlay
You can now customize the ErrorOverlay by using css parts. Check out the PR for more details: #10234.
Features
- feat(build): experimental copyPublicDir option (#10550) (4f4a39f), closes #10550
- feat(css): export preprocessCSS API (#10429) (177b427), closes #10429
- feat(preview): support outDir option (#10418) (15b90b3), closes #10418
- feat: include line and column in error format (#10529) (d806c4a), closes #10529
- feat: reuse opening tab in chromium browsers when start dev server (#10485) (1a2e7a8), closes #10485
- feat: update esbuild compilation affecting fields (#10374) (f542727), closes #10374
- feat(proxy): Include URL of request in proxy errors (#10508) (27e2832), closes #10508
- refactor: delete dependent pre built proxy modules (#10427) (b3b388d), closes #10427
- feat(server): invalidate module with hmr (#10333) (8328011), closes #10333
- feat: build.modulePreload options (#9938) (e223f84), closes #9938
- feat: customize ErrorOverlay (#10234) (fe4dc8d), closes #10234
- feat: dynamic import support ?url and ?worker (#8261) (0cb01ca), closes #8261
- feat: include duplicate assets in the manifest (#9928) (42ecf37), closes #9928
- feat: support import.meta.hot.invalidate (#10244) (fb8ab16), closes #10244
- feat: support postcss sugarss (#6705) (8ede2f1), closes #6705
- feat(assets): allow
new URL
to resolve package assets (#7837) (bafccf5), closes #7837- feat(client): add data-vite-dev-id attribute to style elements (#10080) (ea09fde), closes #10080
... (truncated)
Commits
-
4198e34
release: v3.2.0 -
f7021e3
fix(config): resolve build options with fallback (#10645) -
bb95467
fix(deps): update all non-major dependencies (#10610) -
177b427
feat(css): export preprocessCSS API (#10429) -
4f4a39f
feat(build): experimental copyPublicDir option (#10550) -
15b90b3
feat(preview): support outDir option (#10418) -
ee7c28a
fix(hmr): cannot reload after missing import on server startup (#9534) (#10602) -
df86990
fix: when the file path is an absolute path, parsing causes parameter loss (#... -
9f268da
fix: add a warning if css urls not exist during build time (fix #9800) (#10331) -
cffe5c9
fix: revert es-module-lexer version (#10614) - 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)