-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
33 lines (30 loc) · 815 Bytes
/
next.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
})
const path = require("path");
const nextConfig = {
reactStrictMode: true,
images: {
unoptimized: true, // for development period on Vercel (link: https://vercel.com/docs/concepts/image-optimization/managing-image-optimization-costs#how-to-minimize-image-optimization-costs)
remotePatterns: [
{
protocol: 'https',
hostname: 'image.tmdb.org',
},
{
protocol: 'https',
hostname: 'placehold.co',
},
{
protocol: 'https',
hostname: 'secure.gravatar.com',
},
],
},
};
module.exports = {
sassOptions: {
includePaths: [path.join(__dirname, 'styles')],
},
}
module.exports = withBundleAnalyzer(nextConfig)