- Set Spanish as default language with ephemeral/encrypted privacy focus - Translate all user-facing strings and legal pages to Spanish - Replace Norwegian flag with Spanish flag in footer - Remove Hemmelig/terces.cloud links, add cloudhost.es sponsorship - Rewrite PrivacyPage: zero data collection, ephemeral design emphasis - Rewrite TermsPage: Spanish law, RGPD, paste.es/CloudHost.es references - Update PWA manifest, HTML meta tags, package.json branding - Rename webhook headers to X-Paste-Event / X-Paste-Signature - Update API docs title and contact to paste.es / cloudhost.es Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
33 lines
877 B
TypeScript
33 lines
877 B
TypeScript
import devServer from '@hono/vite-dev-server';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import { defineConfig } from 'vite';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
ssr: {
|
|
external: ['@prisma/client'],
|
|
},
|
|
plugins: [
|
|
tailwindcss(),
|
|
react(),
|
|
devServer({
|
|
entry: 'server.ts',
|
|
exclude: [
|
|
// Exclude all paths that don't start with /api
|
|
/^(?!\/api).*/,
|
|
],
|
|
}),
|
|
],
|
|
optimizeDeps: {
|
|
include: ['lucide-react'],
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
// /esm/icons/index.mjs only exports the icons statically, so no separate chunks are created
|
|
'@tabler/icons-react': '@tabler/icons-react/dist/esm/icons/index.mjs',
|
|
},
|
|
},
|
|
publicDir: 'public',
|
|
});
|