mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-13 23:16:47 +00:00
next 图片压缩
This commit is contained in:
@@ -6,6 +6,8 @@ module.exports = withBundleAnalyzer({
|
||||
webpack5: true
|
||||
},
|
||||
images: {
|
||||
// 图片压缩
|
||||
formats: ['image/avif', 'image/webp'],
|
||||
// 允许next/image加载的图片 域名
|
||||
domains: [
|
||||
'gravatar.com',
|
||||
|
||||
Reference in New Issue
Block a user