-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.js
More file actions
31 lines (29 loc) · 872 Bytes
/
next.config.js
File metadata and controls
31 lines (29 loc) · 872 Bytes
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
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
images: {
domains: ['i.scdn.co', 'mosaic.scdn.co', 'wrapped-images.spotifycdn.com'],
remotePatterns: [
{
protocol: 'https',
hostname: '**.scdn.co',
},
{
protocol: 'https',
hostname: '**.spotifycdn.com',
},
],
},
env: {
SPOTIFY_CLIENT_ID: process.env.SPOTIFY_CLIENT_ID,
SPOTIFY_CLIENT_SECRET: process.env.SPOTIFY_CLIENT_SECRET,
SPOTIFY_REDIRECT_URI: process.env.SPOTIFY_REDIRECT_URI,
NEXT_PUBLIC_SPOTIFY_CLIENT_ID: process.env.NEXT_PUBLIC_SPOTIFY_CLIENT_ID,
NEXT_PUBLIC_SPOTIFY_REDIRECT_URI: process.env.NEXT_PUBLIC_SPOTIFY_REDIRECT_URI,
},
eslint: {
// Ignore ESLint errors during build (we'll fix them separately)
ignoreDuringBuilds: false,
},
}
module.exports = nextConfig