Skip to content

Commit

Permalink
pwa 관련 경고 제거를 위한 수정
Browse files Browse the repository at this point in the history
아래의 문구를 없애기 위해 개발시 비활성화

 ⚠ GenerateSW has been called multiple times, perhaps due to running webpack in --watch mode. The precache manifest generated after the first call may be inaccurate! Please see GoogleChrome/workbox#1790 for more information
  • Loading branch information
young-do committed Apr 27, 2024
1 parent f0c9a63 commit 4e249b5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
const withPWA = require('next-pwa')({ dest: 'public' });
const withPWA = require('next-pwa')({
dest: 'public',
disable: process.env.NODE_ENV === 'development',
});
const { withSentryConfig } = require('@sentry/nextjs');

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
images: {
Expand Down

0 comments on commit 4e249b5

Please sign in to comment.