2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00
website/next.config.js

18 lines
378 B
JavaScript
Raw Normal View History

2021-10-24 05:19:39 +02:00
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'] : [])
]
}
})
)