Skip to content

Vite 8.0.0-beta.9 inlineDynamicImports deprecation warning #21468

Description

@jamesopstad

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions