create-nalth
Version:
🛡️ Create secure, modern web applications with the Nalth framework - HTTPS, CSP, and enterprise-grade security by default
21 lines (18 loc) • 607 B
text/typescript
import { defineConfig } from 'nalth'
import vue from '@vitejs/plugin-vue'
// https://nalth.pages.dev/config/
export default defineConfig({
plugins: [vue()],
// 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
}
}
})