瀏覽代碼

enable swcMinify

Yuki Takei 3 年之前
父節點
當前提交
2788b63acf
共有 1 個文件被更改,包括 1 次插入0 次删除
  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
 
     reactStrictMode: true,
+    swcMinify: true,
     typescript: {
       tsconfigPath: 'tsconfig.build.client.json',
     },