Skip to content

Commit c93558f

Browse files
authored
tweak
1 parent 76996c9 commit c93558f

File tree

4 files changed

+2
-15
lines changed

4 files changed

+2
-15
lines changed

packages/kit/src/core/generate_manifest/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ export function generate_manifest({ build_data, prerendered, relative_path, rout
2727
const reindexed = new Map();
2828
/**
2929
* All nodes actually used in the routes definition (prerendered routes are omitted).
30-
* If `routes` is empty, it means that this manifest is only used for server-side resolution
31-
* and the root layout/error is therefore not needed.
32-
* Else, root layout/error is always included as they are needed for 404 and root errors.
30+
* Root layout/error is always included as they are needed for 404 and root errors.
3331
* @type {Set<any>}
3432
*/
3533
const used_nodes = new Set([0, 1]);

packages/kit/test/apps/prerendered-app-error-pages/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
},
1717
"devDependencies": {
1818
"@sveltejs/kit": "workspace:^",
19-
"@sveltejs/adapter-auto": "workspace:^",
2019
"@sveltejs/vite-plugin-svelte": "^5.0.1",
2120
"cross-env": "^7.0.3",
2221
"svelte": "^5.2.9",
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
import adapter from '@sveltejs/adapter-auto';
2-
31
/** @type {import('@sveltejs/kit').Config} */
42
const config = {
5-
kit: {
6-
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
7-
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
8-
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
9-
adapter: adapter()
10-
}
3+
kit: {}
114
};
125

136
export default config;

pnpm-lock.yaml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)