Skip to content

Commit 25a97b4

Browse files
committed
fix: next config
1 parent 429ad1f commit 25a97b4

File tree

1 file changed

+14
-19
lines changed

1 file changed

+14
-19
lines changed

examples/next/next.config.js

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
1-
const nextConfig = () => {
2-
/** @type {import('next/dist/server/config').NextConfig} */
3-
const config = {
4-
compress: true,
5-
images: {
6-
formats: ['image/avif', 'image/webp'],
7-
loader: 'imgix',
8-
path: 'https://ultraviolet.scaleway.com',
9-
},
10-
poweredByHeader: false,
11-
reactStrictMode: true,
12-
eslint: {
13-
ignoreDuringBuilds: true,
14-
},
15-
transpilePackages: ['react-syntax-highlighter'],
16-
}
17-
18-
return config
1+
const nextConfig = {
2+
compress: true,
3+
images: {
4+
formats: ['image/avif', 'image/webp'],
5+
loader: 'imgix',
6+
path: 'https://ultraviolet.scaleway.com',
7+
},
8+
poweredByHeader: false,
9+
reactStrictMode: true,
10+
eslint: {
11+
ignoreDuringBuilds: true,
12+
},
13+
transpilePackages: ['react-syntax-highlighter'],
1914
}
2015

21-
export default nextConfig()
16+
export default nextConfig

0 commit comments

Comments
 (0)