final POC

This commit is contained in:
magdo
2025-11-24 23:28:57 +01:00
parent ce02f55a99
commit 6b3446e9b6
49 changed files with 4634 additions and 4620 deletions
+11 -1
View File
@@ -4,7 +4,7 @@ import tailwindcss from '@tailwindcss/vite'
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), tailwindcss(),],
plugins: [react(), tailwindcss()],
server: {
host: '0.0.0.0',
port: 5173,
@@ -29,6 +29,16 @@ export default defineConfig({
preview: {
host: '0.0.0.0',
port: 5173,
},
build: {
minify: 'terser',
terserOptions: {
compress: {
drop_console: true, // Remove all console statements in production
drop_debugger: true, // Remove debugger statements
pure_funcs: ['console.log', 'console.warn', 'console.debug'] // Specifically target these
}
}
}
})