瀏覽代碼

next config sourcemap

AykutSarac 2 年之前
父節點
當前提交
6d3e259f5a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      next.config.js

+ 1 - 0
next.config.js

@@ -7,6 +7,7 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({
  */
 const config = {
   reactStrictMode: false,
+  productionBrowserSourceMaps: true,
   compiler: {
     styledComponents: true,
   },