Skip to content

Commit

Permalink
fix(components-Editor): disable SWC minifier
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 67da66c
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

0 comments on commit 67da66c

Please sign in to comment.