mirror of
https://github.com/LukeHagar/openapi-definition-generator.git
synced 2025-12-06 12:37:46 +00:00
16 lines
333 B
TypeScript
16 lines
333 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig } from 'vite';
|
|
import { purgeCss } from 'vite-plugin-tailwind-purgecss';
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
sveltekit(),
|
|
purgeCss({
|
|
safelist: {
|
|
// any selectors that begin with "hljs-" will not be purged
|
|
greedy: [/^hljs-/]
|
|
}
|
|
})
|
|
]
|
|
});
|