Use svelte preprocess, generate random colors, check GZipped filesize

This commit is contained in:
Djuri 2023-11-21 20:43:17 +01:00
parent b38dabec52
commit 70bbc99ca1
3 changed files with 12 additions and 2 deletions

View file

@ -1,11 +1,11 @@
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';
import preprocess from 'svelte-preprocess';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess({}),
preprocess: preprocess({}),
build: {
rollupOptions: {
output: {