From b6ea2c229da5d866f5bfa484612a719ad49e6e58 Mon Sep 17 00:00:00 2001 From: Yoann Moinet Date: Mon, 13 Jul 2026 10:44:01 -0400 Subject: [PATCH] feat(vite): support Vite 8 (bump peerDependency range) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bump the vite peerDependency range from '>= 5.x <= 7.x' to '>= 5.x <= 8.x'. Validated locally that @datadog/vite-plugin builds and runs cleanly under Vite 8.1.4 (rolldown): the plugin loads, all hooks execute, and the build completes and emits reports with only the peer bump — no source or rollup changes required. Supersedes #425 with a minimal diff. Closes #423 --- packages/published/vite-plugin/package.json | 2 +- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/published/vite-plugin/package.json b/packages/published/vite-plugin/package.json index f2f1ca9e1..fdb9cdcc5 100644 --- a/packages/published/vite-plugin/package.json +++ b/packages/published/vite-plugin/package.json @@ -90,7 +90,7 @@ "@babel/parser": "^7.24.5", "@babel/traverse": "^7.24.5", "@babel/types": "^7.24.5", - "vite": ">= 5.x <= 7.x" + "vite": ">= 5.x <= 8.x" }, "peerDependenciesMeta": { "@babel/parser": { diff --git a/yarn.lock b/yarn.lock index 0ff5c99e5..3d9228437 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1898,7 +1898,7 @@ __metadata: "@babel/parser": ^7.24.5 "@babel/traverse": ^7.24.5 "@babel/types": ^7.24.5 - vite: ">= 5.x <= 7.x" + vite: ">= 5.x <= 8.x" dependenciesMeta: "@napi-rs/keyring": optional: true