소스 검색

disable pwa on dev env

AykutSarac 3 년 전
부모
커밋
d90bad36ef
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      next.config.js

+ 1 - 0
next.config.js

@@ -13,6 +13,7 @@ const nextConfig = {
     styledComponents: true,
   },
   pwa: {
+    disable: process.env.NODE_ENV === "development",
     dest: "public",
     register: true,
     fallbacks: {