We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac0a87e commit e5ce8bbCopy full SHA for e5ce8bb
.changeset/tricky-pants-kick.md
@@ -0,0 +1,5 @@
1
+---
2
+'@sveltejs/kit': patch
3
4
+
5
+fix: log when no Svelte config file has been found to avoid confusion
packages/kit/src/core/config/index.js
@@ -67,6 +67,9 @@ export async function load_config({ cwd = process.cwd() } = {}) {
67
.filter((f) => fs.existsSync(f));
68
69
if (config_files.length === 0) {
70
+ console.log(
71
+ `No Svelte config file found in ${cwd} - using SvelteKit's default configuration without an adapter.`
72
+ );
73
return process_config({}, { cwd });
74
}
75
const config_file = config_files[0];
0 commit comments