mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 23:16:47 +00:00
18 lines
374 B
JavaScript
18 lines
374 B
JavaScript
import withBundleAnalyzer from '@next/bundle-analyzer'
|
|
|
|
export default withBundleAnalyzer({
|
|
enabled: process.env.ANALYZE === 'true'
|
|
})({
|
|
staticPageGenerationTimeout: 300,
|
|
images: {
|
|
domains: [
|
|
'www.notion.so',
|
|
'notion.so',
|
|
'images.unsplash.com',
|
|
'pbs.twimg.com',
|
|
'abs.twimg.com'
|
|
],
|
|
formats: ['image/avif', 'image/webp']
|
|
}
|
|
})
|