0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-11-17 02:52:38 +09:00
yude.jp/next.config.js

18 lines
382 B
JavaScript
Raw Normal View History

2021-02-06 14:30:05 +09:00
const nextTranslate = require('next-translate')
module.exports = nextTranslate({
2021-02-06 14:05:36 +09:00
i18n: {
2021-03-08 13:40:37 +09:00
locales: ['ja', 'en'],
defaultLocale: 'ja',
2021-04-21 17:17:07 +09:00
},
images: {
domains: ['mackerel.io', 'mc-heads.net'],
2021-04-21 17:17:07 +09:00
},
2021-05-23 15:45:54 +09:00
webpack: function (config) {
config.module.rules.push({
test: /\.md$/,
use: 'raw-loader',
})
return config
},
2021-02-06 14:30:05 +09:00
})