tweaking the build process to make CSS cascade properly with in the prod environment

This commit is contained in:
Dave Lane 2024-11-28 15:22:46 +13:00
parent de841dfd78
commit 2ccaf070b6
2 changed files with 5 additions and 5 deletions

View file

@ -1,9 +1,9 @@
<script>
import tabler from 'yesvelte/css/tabler.min.css?url';
import daisyui from 'yesvelte/css/daisyui.min.css?url';
import { Navbar, NavbarItem } from 'yesvelte';
import '../app.css';
import { Navbar, NavbarItem } from 'yesvelte';
let theme = 'tabler';
</script>

View file

@ -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;