Describe the bug
As mentioned in #2042 (comment)
bundleStrategy: "inline" still generate an _app folder with js file imported at runtime, instead of being inlined
It also generate a env.js and version.json file
See reproduction repo : https://github.com/wighawag/svelte-kit-single-file
Reproduction
Reproduction repo: https://github.com/wighawag/svelte-kit-single-file
It is based on pnpx sv create so test it with:
Logs
System Info
System:
OS: Linux 6.8 Linux Mint 22 (Wilma)
CPU: (16) x64 AMD Ryzen 7 PRO 6850U with Radeon Graphics
Memory: 14.83 GB / 30.12 GB
Container: Yes
Shell: 3.7.0 - /usr/bin/fish
Binaries:
Node: 22.14.0 - ~/.volta/tools/image/node/22.14.0/bin/node
npm: 10.9.2 - ~/.volta/tools/image/node/22.14.0/bin/npm
pnpm: 10.6.5 - ~/.volta/bin/pnpm
bun: 1.2.0 - ~/.asdf/shims/bun
Browsers:
Brave Browser: 131.1.73.105
Chromium: 131.0.6778.204
npmPackages:
@sveltejs/adapter-static: ^3.0.8 => 3.0.8
@sveltejs/kit: ^2.16.0 => 2.20.5
@sveltejs/vite-plugin-svelte: ^5.0.0 => 5.0.3
svelte: ^5.0.0 => 5.25.12
vite: ^6.2.5 => 6.2.6
Severity
blocking all usage of SvelteKit
Additional Information
No response
Describe the bug
As mentioned in #2042 (comment)
bundleStrategy: "inline"still generate an _app folder with js file imported at runtime, instead of being inlinedIt also generate a env.js and version.json file
See reproduction repo : https://github.com/wighawag/svelte-kit-single-file
Reproduction
Reproduction repo: https://github.com/wighawag/svelte-kit-single-file
It is based on
pnpx sv createso test it with:Logs
System Info
System: OS: Linux 6.8 Linux Mint 22 (Wilma) CPU: (16) x64 AMD Ryzen 7 PRO 6850U with Radeon Graphics Memory: 14.83 GB / 30.12 GB Container: Yes Shell: 3.7.0 - /usr/bin/fish Binaries: Node: 22.14.0 - ~/.volta/tools/image/node/22.14.0/bin/node npm: 10.9.2 - ~/.volta/tools/image/node/22.14.0/bin/npm pnpm: 10.6.5 - ~/.volta/bin/pnpm bun: 1.2.0 - ~/.asdf/shims/bun Browsers: Brave Browser: 131.1.73.105 Chromium: 131.0.6778.204 npmPackages: @sveltejs/adapter-static: ^3.0.8 => 3.0.8 @sveltejs/kit: ^2.16.0 => 2.20.5 @sveltejs/vite-plugin-svelte: ^5.0.0 => 5.0.3 svelte: ^5.0.0 => 5.25.12 vite: ^6.2.5 => 6.2.6Severity
blocking all usage of SvelteKit
Additional Information
No response