From 62a935921acdddd08cff6dcec0c59fa6b8604d60 Mon Sep 17 00:00:00 2001 From: Dave Lane Date: Thu, 28 Nov 2024 15:22:46 +1300 Subject: [PATCH] tweaking the build process to make CSS cascade properly with in the prod environment --- src/routes/+layout.svelte | 4 ++-- svelte.config.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index e8ffcb3..7083315 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,9 +1,9 @@ diff --git a/svelte.config.js b/svelte.config.js index 4f38639..8e350fd 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,6 +1,6 @@ //import adapter from '@sveltejs/adapter-auto'; import adapter from '@sveltejs/adapter-node'; // ref https://medium.com/@loic.joachim/dockerize-sveltekit-with-node-adapter-62c5dc6fc15a -import sveltePreprocess from 'svelte-preprocess'; +//import sveltePreprocess from 'svelte-preprocess'; /** @type {import('@sveltejs/kit').Config} */ const config = { @@ -9,8 +9,8 @@ const config = { // 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() - }, - preprocess: sveltePreprocess() + } //, + //preprocess: sveltePreprocess() }; export default config;