initial maddafacka

This commit is contained in:
sakrecoer 2026-08-18 15:26:02 +02:00
commit 57a252b983
16 changed files with 4135 additions and 0 deletions

30
vite.config.js Normal file
View file

@ -0,0 +1,30 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import fs from 'fs';
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
open: true,
// Enable HTTPS with self-signed certificate
https: {
key: fs.readFileSync('./localhost-key.pem'),
cert: fs.readFileSync('./localhost.pem'),
}
},
build: {
outDir: 'dist',
assetsDir: 'assets',
sourcemap: false,
minify: true,
rollupOptions: {
output: {
manualChunks: {
vendor: ['react', 'react-dom'],
nostr: ['nostr-tools']
}
}
}
}
});