UNPKG

create-nalth

Version:

🛡️ Create secure, modern web applications with the Nalth framework - HTTPS, CSP, and enterprise-grade security by default

21 lines (18 loc) 610 B
import { defineConfig } from 'nalth' import solid from 'vite-plugin-solid' // https://nalth.pages.dev/config/ export default defineConfig({ plugins: [solid()], // NALTH Security Features security: { https: true, // HTTPS by default csp: 'auto', // Auto-generated CSP sri: true, // Subresource Integrity audit: 'strict', // Security auditing headers: { hsts: true, // HTTP Strict Transport Security frameOptions: 'DENY', // X-Frame-Options contentTypeOptions: true // X-Content-Type-Options } } })