Browse Source

enable swcMinify

Yuki Takei 3 years ago
parent
commit
2788b63acf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/app/next.config.js

+ 1 - 0
packages/app/next.config.js

@@ -64,6 +64,7 @@ module.exports = async(phase, { defaultConfig }) => {
     // experimental: { esmExternals: true }, // Prefer loading of ES Modules over CommonJS
     // experimental: { esmExternals: true }, // Prefer loading of ES Modules over CommonJS
 
 
     reactStrictMode: true,
     reactStrictMode: true,
+    swcMinify: true,
     typescript: {
     typescript: {
       tsconfigPath: 'tsconfig.build.client.json',
       tsconfigPath: 'tsconfig.build.client.json',
     },
     },