Vite 8 warning because of inlineDynamicImports

#15646

Development PR

Issue

Solved
K
kiwixz
Apr 4, 2026, 10:06 PM

Describe the bug

It changed since , but it's still there:

✓ built in 303ms
vite v8.0.3 building client environment for production...

 WARN  inlineDynamicImports option is ignored because codeSplitting: true is set.                                 

✓ 3 modules transformed.

Reproduction

With Vite 8, and a service worker probably.

Logs

System Info

Binaries:
    Node: 20.19.2 - /usr/bin/node
    npm: 9.2.0 - /usr/bin/npm
  npmPackages:
    @sveltejs/adapter-static: ^3.0.10 => 3.0.10 
    @sveltejs/kit: ^2.56.1 => 2.56.1 
    svelte: ^5.55.1 => 5.55.1 
    vite: ^8.0.3 => 8.0.3

Severity

annoyance

Additional Information

I think it's because defines it, unlike .

Info

Closed at Apr 6, 2026, 11:04 AM
Assignees None
Labels None
Milestone None

Pro tip: You can prefix GitHub URLs of issues, PRs or discussions with svcl.dev/ to view them on this page! Also try it on a GitHub release ;)