mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00

* feat: initialize website project * feat: add initial homepage with download links * feat: initial download page * fix: linux icon color * feat: add mobile nav and github star button * feat: add older and nightly downloads page * feat: add supporters and footer * feat: add author details in about page * feat: add darkmode toggle for website * feat: add playstore and flathub download buttons and contribution button * feat: add blogs support * feat: remove netlify deploy config and add cloudflare config and favicons + manifest * chore: add robots.txt * feat: add spotube logo in navbar and fix build errors * chore: add gap
23 lines
459 B
TypeScript
23 lines
459 B
TypeScript
import { purgeCss } from 'vite-plugin-tailwind-purgecss';
|
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
sveltekit(),
|
|
purgeCss({
|
|
safelist: {
|
|
// any selectors that begin with "hljs-" will not be purged
|
|
greedy: [/^hljs-/]
|
|
}
|
|
})
|
|
],
|
|
server: {
|
|
fs: {
|
|
// Allow serving files from one level up to the project root
|
|
// posts, copy
|
|
allow: ['..']
|
|
}
|
|
}
|
|
});
|