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