mirror of
https://github.com/yude-jp/yude.jp
synced 2024-12-22 20:20:09 +09:00
18 lines
366 B
JavaScript
18 lines
366 B
JavaScript
const nextTranslate = require('next-translate')
|
|
|
|
module.exports = nextTranslate({
|
|
i18n: {
|
|
locales: ['ja', 'en'],
|
|
defaultLocale: 'ja',
|
|
},
|
|
images: {
|
|
domains: ['mackerel.io'],
|
|
},
|
|
webpack: function (config) {
|
|
config.module.rules.push({
|
|
test: /\.md$/,
|
|
use: 'raw-loader',
|
|
})
|
|
return config
|
|
},
|
|
}) |