浏览代码

add swcMinify

AykutSarac 2 年之前
父节点
当前提交
3d3de397c4
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      next.config.js

+ 1 - 0
next.config.js

@@ -9,6 +9,7 @@ const withPWA = require("next-pwa")({
  * @type {import('next').NextConfig}
  */
 const nextConfig = {
+  swcMinify: true,
   reactStrictMode: true,
   exportPathMap: async () => ({
     "/": { page: "/" },