Skip to content

Commit

Permalink
feat(swc): enable swc minifier from next.js v12.3 (#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabertazimi authored Sep 12, 2022
1 parent 857cd40 commit 24a7507
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ const nextConfig = {
defaultLocale: 'en-US',
},
reactStrictMode: true,
// TODO: enable SWC minifier when it's ready.
// swcMinify: isProduction,
swcMinify: isProduction,
};

module.exports = NextPwa(nextConfig);

1 comment on commit 24a7507

@vercel
Copy link

@vercel vercel bot commented on 24a7507 Sep 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

blog.tazimi.dev
blog-sabertaz.vercel.app
blog-git-main-sabertaz.vercel.app

Please sign in to comment.