Skip to content

Commit d4f7ce2

Browse files
committed
regenerate types
1 parent 400806a commit d4f7ce2

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

packages/kit/types/index.d.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,9 @@ declare module '@sveltejs/kit' {
271271
*/
272272
alias?: Record<string, string>;
273273
/**
274-
* The directory relative to `paths.assets` where the built JS and CSS (and imported assets) are served from. (The filenames therein contain content-based hashes, meaning they can be cached indefinitely). Must not start or end with `/`.
274+
* The directory where SvelteKit keeps its stuff, including static assets (such as JS and CSS) and internally-used routes.
275+
*
276+
* If `paths.assets` is specified, there will be two app directories — `${paths.assets}/${appDir}` and `${paths.base}/${appDir}`.
275277
* @default "_app"
276278
*/
277279
appDir?: string;
@@ -349,11 +351,6 @@ declare module '@sveltejs/kit' {
349351
* @default "."
350352
*/
351353
dir?: string;
352-
/**
353-
* The name of the module that contains public environment variables, relative to `paths.base`. Normally, these values are inlined into the HTML for maximum performance, but if the user lands on a prerendered page, values will instead be retrieved from this module — which is dynamically created by the server — if they are needed elsewhere in the app.
354-
* @default "_env.js";
355-
*/
356-
publicModule?: string;
357354
/**
358355
* A prefix that signals that an environment variable is safe to expose to client-side code. See [`$env/static/public`](/docs/modules#$env-static-public) and [`$env/dynamic/public`](/docs/modules#$env-dynamic-public). Note that Vite's [`envPrefix`](https://vitejs.dev/config/shared-options.html#envprefix) must be set separately if you are using Vite's environment variable handling - though use of that feature should generally be unnecessary.
359356
* @default "PUBLIC_"

0 commit comments

Comments
 (0)