next.config.js 331 B

12345678910111213141516
  1. const withBundleAnalyzer = require("@next/bundle-analyzer")({
  2. enabled: process.env.ANALYZE === "true",
  3. });
  4. /**
  5. * @type {import('next').NextConfig}
  6. */
  7. const config = {
  8. reactStrictMode: false,
  9. productionBrowserSourceMaps: true,
  10. compiler: {
  11. styledComponents: true,
  12. },
  13. };
  14. module.exports = withBundleAnalyzer(config);