jsoncrack.com/next.config.js
2023-02-09 09:22:11 +03:00

17 lines
331 B
JavaScript

const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE === "true",
});
/**
* @type {import('next').NextConfig}
*/
const config = {
reactStrictMode: false,
productionBrowserSourceMaps: true,
compiler: {
styledComponents: true,
},
};
module.exports = withBundleAnalyzer(config);