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>
|
<script>
|
||||||
import tabler from 'yesvelte/css/tabler.min.css?url';
|
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 '../app.css';
|
||||||
|
|
||||||
|
import { Navbar, NavbarItem } from 'yesvelte';
|
||||||
|
|
||||||
let theme = 'tabler';
|
let theme = 'tabler';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
//import adapter from '@sveltejs/adapter-auto';
|
//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 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} */
|
/** @type {import('@sveltejs/kit').Config} */
|
||||||
const 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.
|
// 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.
|
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
||||||
adapter: adapter()
|
adapter: adapter()
|
||||||
},
|
} //,
|
||||||
preprocess: sveltePreprocess()
|
//preprocess: sveltePreprocess()
|
||||||
};
|
};
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|
Loading…
Reference in a new issue