jsoncrack.com/next.config.js

16 lines
294 B
JavaScript
Raw Normal View History

2023-01-29 19:45:09 +03:00
const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE === "true",
});
2022-04-27 13:56:24 +03:00
/**
* @type {import('next').NextConfig}
*/
2023-01-29 19:45:09 +03:00
const config = {
2022-12-11 14:27:07 +03:00
reactStrictMode: false,
2023-01-28 17:17:21 +03:00
compiler: {
2023-01-29 19:45:09 +03:00
styledComponents: true,
},
2022-04-27 13:56:24 +03:00
};
2023-01-29 19:45:09 +03:00
module.exports = withBundleAnalyzer(config);