+
```ts
// @noErrors
assets?: string;
@@ -416,6 +437,7 @@ assets?: string;
+-
deprecated
-
default `"src/hooks"`
-
available since v2.3.0
@@ -505,6 +530,7 @@ lib?: string;
+- deprecated
- default `"src/lib"`
@@ -524,6 +550,7 @@ params?: string;
+- deprecated
- default `"src/params"`
@@ -543,6 +570,7 @@ routes?: string;
+- deprecated
- default `"src/routes"`
@@ -562,6 +590,7 @@ serviceWorker?: string;
+- deprecated
- default `"src/service-worker"`
@@ -581,6 +610,7 @@ appTemplate?: string;
+- deprecated
- default `"src/app.html"`
@@ -600,6 +630,7 @@ errorTemplate?: string;
+- deprecated
- default `"src/error.html"`
@@ -1109,44 +1140,7 @@ The drawback is that for unvisited paths, resolution will take slightly longer (
-
-
-```ts
-// @noErrors
-register?: boolean;
-```
-
-
-
-
-- default `true`
-
-
-
-Whether to automatically register the service worker, if it exists.
-
-
-
-
-
-```ts
-// @noErrors
-files?(filepath: string): boolean;
-```
-
-
-
-
-
-- default `(filename) => !/\.DS_Store/.test(filename)`
-
-
-
-Determine which files in your `static` directory will be available in `$service-worker.files`.
-
-
-
@@ -1181,6 +1175,8 @@ config?: (config: Record
) => Record | void;
A function that allows you to edit the generated `tsconfig.json`. You can mutate the config (recommended) or return a new one.
This is useful for extending a shared `tsconfig.json` in a monorepo root, for example.
+Note that any paths configured here should be relative to the generated config file, which is written to `.svelte-kit/tsconfig.json`.
+