-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
39 lines (38 loc) · 1.03 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
/** @type {import('next').NextConfig} */
const path = require('path');
module.exports = {
compiler: {
reactRemoveProperties: false,
removeConsole: false,
},
reactStrictMode: false,
sassOptions: {
includePaths: [path.join(__dirname, 'src', 'assets', 'scss')],
},
// images: {
// minimumCacheTTL: 60,
// domains: [
// 'https://api.vicstore.ir',
// 'api.vicstore.ir',
// 'image.vicstore.ir',
// 'https://admin.offexcelent.shop',
// 'admin.offexcelent.shop',
// 'api-vicstore.liara.run',
// 'admin-vicstore.liara.run',
// 'localhost',
// ],
// },
typescript: {
ignoreBuildErrors: true,
},
eslint: {
ignoreDuringBuilds: true,
},
// env: {
// NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL,
// NEXT_PUBLIC_PUBLIC_URL: process.env.NEXT_PUBLIC_PUBLIC_URL,
// NEXT_PUBLIC_IMG: process.env.NEXT_PUBLIC_IMG,
// NEXT_PUBLIC_URL: process.env.NEXT_PUBLIC_URL,
// },
// output: 'standalone',
};