Last active
June 16, 2024 07:59
-
-
Save Sankame/516efc1c20c0fd8f8fda8ffc1c3f27d5 to your computer and use it in GitHub Desktop.
Next.js設定ファイルの値変更
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
reactStrictMode: true, | |
webpackDevMiddleware: config => { | |
config.watchOptions = { | |
//小さな値にすると、ポーリングの頻度が上がるので、重くなるっぽい。 | |
//poll: 800, | |
poll: 5000, | |
aggregateTimeout: 300, | |
ignored: [ '**/node_modules/**', '**/.git/**', '**/.next/**' ] | |
} | |
return config | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(2024/06/16) ignored を追加。