Skip to content

Commit

Permalink
fix(components-Editor): disable SWC minifier (#797)
Browse files Browse the repository at this point in the history
close #796
  • Loading branch information
sabertazimi committed May 4, 2022
1 parent 1f7945e commit c497ac5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ const nextConfig = {
disable: !isProduction,
},
reactStrictMode: true,
swcMinify: isProduction,
// TODO: enable SWC minifier when it's ready.
// swcMinify: isProduction,
};

module.exports = NextPwa(nextConfig);
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"__mocks__"
],
"compilerOptions": {
"target": "es5",
"module": "esnext",
"target": "ES5",
"module": "ESNext",
"moduleResolution": "node",
"lib": ["DOM", "DOM.Iterable", "ES2021", "ESNext"],
"allowJs": true,
Expand Down

1 comment on commit c497ac5

@vercel
Copy link

@vercel vercel bot commented on c497ac5 May 4, 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-sabertaz.vercel.app
blog-git-main-sabertaz.vercel.app
blog.tazimi.dev

Please sign in to comment.