@sveltejs/kit 1.0.0-next.236 → 1.0.0-next.237
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +2 -2
- package/package.json +1 -1
- package/types/config.d.ts +2 -1
package/dist/cli.js
CHANGED
|
@@ -933,7 +933,7 @@ async function launch(port, https) {
|
|
|
933
933
|
exec(`${cmd} ${https ? 'https' : 'http'}://localhost:${port}`);
|
|
934
934
|
}
|
|
935
935
|
|
|
936
|
-
const prog = sade('svelte-kit').version('1.0.0-next.
|
|
936
|
+
const prog = sade('svelte-kit').version('1.0.0-next.237');
|
|
937
937
|
|
|
938
938
|
prog
|
|
939
939
|
.command('dev')
|
|
@@ -1085,7 +1085,7 @@ async function check_port(port) {
|
|
|
1085
1085
|
function welcome({ port, host, https, open, loose, allow, cwd }) {
|
|
1086
1086
|
if (open) launch(port, https);
|
|
1087
1087
|
|
|
1088
|
-
console.log($.bold().cyan(`\n SvelteKit v${'1.0.0-next.
|
|
1088
|
+
console.log($.bold().cyan(`\n SvelteKit v${'1.0.0-next.237'}\n`));
|
|
1089
1089
|
|
|
1090
1090
|
const protocol = https ? 'https:' : 'http:';
|
|
1091
1091
|
const exposed = typeof host !== 'undefined' && host !== 'localhost' && host !== '127.0.0.1';
|
package/package.json
CHANGED
package/types/config.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CompileOptions } from 'svelte/types/compiler/interfaces';
|
|
1
2
|
import { UserConfig as ViteConfig } from 'vite';
|
|
2
3
|
import { RecursiveRequired } from './helper';
|
|
3
4
|
import { HttpMethod, Logger, RouteSegment, TrailingSlash } from './internal';
|
|
@@ -110,7 +111,7 @@ export interface PrerenderErrorHandler {
|
|
|
110
111
|
export type PrerenderOnErrorValue = 'fail' | 'continue' | PrerenderErrorHandler;
|
|
111
112
|
|
|
112
113
|
export interface Config {
|
|
113
|
-
compilerOptions?:
|
|
114
|
+
compilerOptions?: CompileOptions;
|
|
114
115
|
extensions?: string[];
|
|
115
116
|
kit?: {
|
|
116
117
|
adapter?: Adapter;
|