This commit is contained in:
tangly1024
2023-01-01 20:08:10 +08:00
parent 09beecb587
commit 4aff1de058
5 changed files with 6 additions and 9 deletions

View File

@@ -3,9 +3,6 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
})
module.exports = withBundleAnalyzer({
future: {
webpack5: true
},
images: {
// 图片压缩
formats: ['image/avif', 'image/webp'],