draupnir4all-web

git clone git://archive.git.mtrnord.blog/MTRNord/draupnir4all-web.git
Log | Files | Refs | README | LICENSE

next.config.ts (367B)


      1 import type { NextConfig } from "next";
      2 import analyzer from "@next/bundle-analyzer";
      3 
      4 const nextConfig: NextConfig = {
      5   experimental: {
      6     ppr: 'incremental',
      7     useCache: true,
      8     dynamicIO: true,
      9   },
     10   output: 'standalone'
     11 };
     12 
     13 const withBundleAnalyzer = analyzer({
     14   enabled: process.env.ANALYZE === 'true',
     15 })
     16 
     17 module.exports = withBundleAnalyzer(nextConfig)