SPB Git forge

spb/toveli

Public
14commits 1branches 0releases
1.1 MBsize
maindefault branch
1 h agolast push
TypeScript 50.6% JavaScript 46.1% SQL 2.1% Shell 0.6% CSS 0.5%
632 B · 14 lines typescript
Raw Blame History
1import type { NextConfig } from "next";2const nextConfig: NextConfig = {3  serverExternalPackages: ["better-sqlite3", "sharp", "heic-convert"],4  turbopack: { rules: { "*.css": { loaders: ["@tailwindcss/turbopack"], as: "*.css" } } },5  poweredByHeader: false,6  async headers() {7    return [{ source: "/(.*)", headers: [8      { key: "X-Content-Type-Options", value: "nosniff" }, { key: "X-Frame-Options", value: "DENY" }, { key: "Referrer-Policy", value: "strict-origin-when-cross-origin" },9      { key: "Permissions-Policy", value: "camera=(), microphone=(), geolocation=(self)" },10    ] }];11  },12};13export default nextConfig;14