tweaking the build process to make CSS cascade properly with in the prod environment
This commit is contained in:
parent
de841dfd78
commit
2ccaf070b6
2 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue