chore: initial commit
This commit is contained in:
17
next.config.js
Normal file
17
next.config.js
Normal file
@ -0,0 +1,17 @@
|
||||
const nextTranslate = require('next-translate')
|
||||
const nextPWA = require('next-pwa')
|
||||
|
||||
module.exports = nextTranslate(
|
||||
nextPWA({
|
||||
pwa: {
|
||||
disable: process.env.NODE_ENV !== 'production',
|
||||
dest: 'public'
|
||||
},
|
||||
images: {
|
||||
domains: [
|
||||
'api.thream.divlo.fr',
|
||||
...(process.env.NODE_ENV === 'development' ? ['localhost'] : [])
|
||||
]
|
||||
}
|
||||
})
|
||||
)
|
Reference in New Issue
Block a user