@sveltejs/kit 1.0.0-next.228 → 1.0.0-next.229
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/chunks/index3.js +1 -1
- package/dist/cli.js +2 -2
- package/package.json +1 -1
package/dist/chunks/index3.js
CHANGED
|
@@ -313,7 +313,7 @@ export class App {
|
|
|
313
313
|
prerender: ${config.kit.prerender.enabled},
|
|
314
314
|
read,
|
|
315
315
|
root,
|
|
316
|
-
service_worker: ${has_service_worker ? "'/service-worker.js'" : 'null'},
|
|
316
|
+
service_worker: ${has_service_worker ? "base + '/service-worker.js'" : 'null'},
|
|
317
317
|
router: ${s(config.kit.router)},
|
|
318
318
|
target: ${s(config.kit.target)},
|
|
319
319
|
template,
|
package/dist/cli.js
CHANGED
|
@@ -870,7 +870,7 @@ async function launch(port, https) {
|
|
|
870
870
|
exec(`${cmd} ${https ? 'https' : 'http'}://localhost:${port}`);
|
|
871
871
|
}
|
|
872
872
|
|
|
873
|
-
const prog = sade('svelte-kit').version('1.0.0-next.
|
|
873
|
+
const prog = sade('svelte-kit').version('1.0.0-next.229');
|
|
874
874
|
|
|
875
875
|
prog
|
|
876
876
|
.command('dev')
|
|
@@ -1022,7 +1022,7 @@ async function check_port(port) {
|
|
|
1022
1022
|
function welcome({ port, host, https, open, loose, allow, cwd }) {
|
|
1023
1023
|
if (open) launch(port, https);
|
|
1024
1024
|
|
|
1025
|
-
console.log($.bold().cyan(`\n SvelteKit v${'1.0.0-next.
|
|
1025
|
+
console.log($.bold().cyan(`\n SvelteKit v${'1.0.0-next.229'}\n`));
|
|
1026
1026
|
|
|
1027
1027
|
const protocol = https ? 'https:' : 'http:';
|
|
1028
1028
|
const exposed = typeof host !== 'undefined' && host !== 'localhost' && host !== '127.0.0.1';
|