From 319a10b9a106e768ea2d3fb6d7134817911208ce Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Wed, 13 Sep 2023 16:04:12 -0500 Subject: Add basic PWA support TODO: draw the rest of the owl --- app/svelte.config.js | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'app/svelte.config.js') diff --git a/app/svelte.config.js b/app/svelte.config.js index 302b52c..463ceee 100644 --- a/app/svelte.config.js +++ b/app/svelte.config.js @@ -1,19 +1,18 @@ import adapter from '@sveltejs/adapter-static'; import { vitePreprocess } from '@sveltejs/kit/vite'; - /** @type {import('@sveltejs/kit').Config} */ const config = { - extensions: ['.svelte'], - // Consult https://kit.svelte.dev/docs/integrations#preprocessors - // for more information about preprocessors - preprocess: [ vitePreprocess()], - - kit: { - // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. - // If your environment is not supported or you settled on a specific environment, switch out the adapter. - // See https://kit.svelte.dev/docs/adapters for more information about adapters. - adapter: adapter() - } + extensions: ['.svelte'], + // Consult https://kit.svelte.dev/docs/integrations#preprocessors + // for more information about preprocessors + preprocess: [vitePreprocess()], + + kit: { + // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. + // If your environment is not supported or you settled on a specific environment, switch out the adapter. + // See https://kit.svelte.dev/docs/adapters for more information about adapters. + adapter: adapter() + } }; -export default config; \ No newline at end of file +export default config; -- cgit v1.2.3