Svelte confiug update

This commit is contained in:
Nicolai Ort 2022-04-30 16:59:00 +02:00
parent f92162bca9
commit d4c69f2723
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
3 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {

View File

@ -6,6 +6,9 @@ const config = {
kit: {
// hydrate the <div id="svelte"> element in src/app.html
adapter: staticAdapter(),
prerender: {
default: true
},
files: {
assets: 'static'
},

View File

@ -1,7 +1,6 @@
const config = {
mode: 'jit',
darkMode: 'media',
purge: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {}
},