gitbutler/packages/ui/svelte.config.js
Mattias Granlund eada859f6f Bundle css into js for posthog
- should fix rendering of navbar in session recordings
- tested using Dev build, let's see what happens
2023-12-16 10:43:39 +00:00

20 lines
416 B
JavaScript

import staticAdapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: vitePreprocess(),
kit: {
adapter: staticAdapter({
pages: 'build',
assets: 'build',
fallback: 'index.html',
precompress: true,
strict: false
})
},
compilerOptions: { css: 'injected' }
};
export default config;