Describe the bug
Vite sets inlineDynamicImports internally but this option is now deprecated, leading to deprecation warnings.
Additionally, the warning is not suppressed when the logLevel is set to silent. Should it be?
Reproduction
Any Vite project (e.g. create vite --template react) with vite@8.0.0-beta.9
Steps to reproduce
npm run dev or npm run build
System Info
System:
OS: macOS 26.2
CPU: (12) arm64 Apple M3 Pro
Memory: 134.58 MB / 36.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.2.0 - /Users/jopstad/.nvm/versions/node/v24.2.0/bin/node
Yarn: 1.22.22 - /Users/jopstad/.nvm/versions/node/v24.2.0/bin/yarn
npm: 11.3.0 - /Users/jopstad/.nvm/versions/node/v24.2.0/bin/npm
pnpm: 10.15.1 - /Users/jopstad/.nvm/versions/node/v24.2.0/bin/pnpm
bun: 1.3.1 - /Users/jopstad/.bun/bin/bun
Browsers:
Chrome: 143.0.7499.193
Safari: 26.2
npmPackages:
@vitejs/plugin-react: ^5.1.1 => 5.1.2
vite: beta => 8.0.0-beta.9
Used Package Manager
pnpm
Logs
No response
Validations
Describe the bug
Vite sets
inlineDynamicImportsinternally but this option is now deprecated, leading to deprecation warnings.Additionally, the warning is not suppressed when the
logLevelis set tosilent. Should it be?Reproduction
Any Vite project (e.g.
create vite --template react) with vite@8.0.0-beta.9Steps to reproduce
npm run devornpm run buildSystem Info
System: OS: macOS 26.2 CPU: (12) arm64 Apple M3 Pro Memory: 134.58 MB / 36.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 24.2.0 - /Users/jopstad/.nvm/versions/node/v24.2.0/bin/node Yarn: 1.22.22 - /Users/jopstad/.nvm/versions/node/v24.2.0/bin/yarn npm: 11.3.0 - /Users/jopstad/.nvm/versions/node/v24.2.0/bin/npm pnpm: 10.15.1 - /Users/jopstad/.nvm/versions/node/v24.2.0/bin/pnpm bun: 1.3.1 - /Users/jopstad/.bun/bin/bun Browsers: Chrome: 143.0.7499.193 Safari: 26.2 npmPackages: @vitejs/plugin-react: ^5.1.1 => 5.1.2 vite: beta => 8.0.0-beta.9Used Package Manager
pnpm
Logs
No response
Validations