Skip to content

Bump @crxjs/vite-plugin from 2.7.1 to 3.0.0 - #4

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/crxjs/vite-plugin-3.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/crxjs/vite-plugin-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 30, 2026

Copy link
Copy Markdown

Bumps @crxjs/vite-plugin from 2.7.1 to 3.0.0.

Changelog

Sourced from @​crxjs/vite-plugin's changelog.

3.0.0

Major Changes

  • b5df87d: Drop CommonJS support and ship ESM only. The require export condition, the dist/index.cjs build and the root index.cjs/index.d.cts shims were removed; main now points at the ESM output. CommonJS consumers must use dynamic import().

Minor Changes

  • 74756c1: Add support for loading content scripts in Vite 8.1 experimental bundled dev mode.

Patch Changes

  • acfda2e: Expose CSS imported by dynamic content script chunks as web-accessible resources so Chrome can load those styles at runtime.

  • 3992a44: Replace every live reload placeholder in the background worker client so it can reconnect after a dev server restart.

  • e8d7422: Avoid adding directly injected content script entries to web_accessible_resources when no loader is emitted.

  • ba08d5a: Fix dev server crash when a monorepo workspace package imports assets (images, SVGs, etc.) from its own source tree outside the Vite root. prepAsset was reading the file with join(server.config.root, id), but pathe.join does not treat a /@fs/… Vite URL as an absolute path and produces an incorrect path like <root>/@fs/<abs-path>. Strip the /@fs prefix to recover the real absolute filesystem path before calling readFile.

  • 4b194b0: Refresh content scripts when imported JSON and other query-string modules change during development.

  • Fix content script path collisions in Vite 8 builds when multiple extension entries share the same basename.

  • 076ef06: Warn when manifest-declared document_start scripts are not configured as IIFE/standalone, since the async loader can miss the earliest host page scripts.

    Keep live reload available for declared and dynamic IIFE content scripts without deferring their execution through the dev loader.

    Handle dynamic content script placeholders when Rolldown emits them inside array literals, keeping dynamic IIFE registrations working in Vite 8.

  • 03dd39c: Use Vite 8.1+ WebSocket configuration without deprecated server.hmr fields while retaining compatibility with Vite 3 through 8.0.

  • 1a995e9: Keep no-import content scripts syntactically valid with source maps by closing their generated IIFE before the trailing sourceMappingURL comment.

  • 8db8ca0: Shorten dev-mode filenames for outside-root Vite modules to avoid Windows path length failures.

  • 0b66ecb: Serve manifest-declared IIFE content scripts (.iife.* files and

... (truncated)

Commits

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [@crxjs/vite-plugin](https://github.com/crxjs/chrome-extension-tools/tree/HEAD/packages/vite-plugin) from 2.7.1 to 3.0.0.
- [Release notes](https://github.com/crxjs/chrome-extension-tools/releases)
- [Changelog](https://github.com/crxjs/chrome-extension-tools/blob/main/packages/vite-plugin/CHANGELOG.md)
- [Commits](https://github.com/crxjs/chrome-extension-tools/commits/v3.0.0/packages/vite-plugin)

---
updated-dependencies:
- dependency-name: "@crxjs/vite-plugin"
  dependency-version: 3.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 30, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants