2021-02-06 14:30:05 +09:00
|
|
|
const nextTranslate = require('next-translate')
|
|
|
|
|
|
|
|
module.exports = nextTranslate({
|
2021-02-06 21:28:29 +09:00
|
|
|
experimental: {
|
|
|
|
darkModeVariant: true
|
|
|
|
},
|
2021-02-06 14:05:36 +09:00
|
|
|
i18n: {
|
|
|
|
// These are all the locales you want to support in
|
|
|
|
// your application
|
2021-03-08 13:40:37 +09:00
|
|
|
locales: ['ja', 'en'],
|
2021-02-06 14:05:36 +09:00
|
|
|
// This is the default locale you want to be used when visiting
|
|
|
|
// a non-locale prefixed path e.g. `/hello`
|
2021-03-08 13:40:37 +09:00
|
|
|
defaultLocale: 'ja',
|
2021-04-21 17:17:07 +09:00
|
|
|
},
|
|
|
|
images: {
|
|
|
|
domains: ['mackerel.io'],
|
|
|
|
},
|
2021-02-06 14:30:05 +09:00
|
|
|
})
|