-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
41 lines (40 loc) · 1 KB
/
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
34
35
36
37
38
39
40
41
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
experimental: {
appDir: true,
},
env: {
NEXT_PUBLIC_API_ENDPOINT_PRODUCTION: "https://api.the-coffee-class.com.br/api",
},
images: {
minimumCacheTTL: 60,
domains: ['https://imgur.com/', 'https://api.the-coffee-class.com.br', 'the-coffee-class.s3.amazonaws.com'],
remotePatterns: [
{
protocol: 'http',
hostname: 'localhost',
port: '3001',
pathname: '/uploads/**',
},
{
protocol: 'https',
hostname: 'the-coffee-class.s3.amazonaws.com',
port: '',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'api.the-coffee-class.com.br',
port: '',
pathname: '/**',
}
],
},
}
// const withTM = require('next-transpile-modules')([], { debug: true })
const withNextIntl = require('next-intl/plugin')(
'./src/i18n.ts'
);
module.exports = withNextIntl(nextConfig)