Skip to content

Commit

Permalink
🔧 chore: Update next.config.mjs file
Browse files Browse the repository at this point in the history
- Remove "productionBrowserSourceMaps" property
- Make "compress" property dependent on "isProd" variable
- Set "reactStrictMode" property to true
- Modify "images" property to set "unoptimized" based on "isProd" variable

These changes improve the configuration of the Next.js application.
  • Loading branch information
canisminor1990 committed Oct 12, 2023
1 parent 63f831e commit a169234
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const withPWA = nextPWA({
/** @type {import('next').NextConfig} */
const nextConfig = {
compress: isProd,
productionBrowserSourceMaps: true,
reactStrictMode: true,
images: {
unoptimized: !isProd,
Expand Down

0 comments on commit a169234

Please sign in to comment.