Skip to content

Commit f452314

Browse files
committed
add next js image config
1 parent 326c0f6 commit f452314

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

wondrous-app/next.config.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,18 @@ module.exports = withBundleAnalyzer({
88
reactStrictMode: true,
99
compiler: {
1010
// Enables the styled-components SWC transform
11-
styledComponents: true
11+
styledComponents: true,
12+
},
13+
images: {
14+
domains: [
15+
'www.notion.so',
16+
'storage.googleapis.com',
17+
'pbs.twimg.com',
18+
'avatars.githubusercontent.com',
19+
's3.amazonaws.com',
20+
'images.mintkudos.xyz',
21+
],
1222
},
13-
images: { domains: ['www.notion.so', 'storage.googleapis.com', 'pbs.twimg.com', 'avatars.githubusercontent.com', 's3.amazonaws.com'] },
1423
webpack(config) {
1524
config.module.rules.push({
1625
test: /\.svg$/,

0 commit comments

Comments
 (0)