0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-22 12:10:11 +09:00

Update configuration for raw-loader

This commit is contained in:
yude 2021-05-23 15:45:54 +09:00
parent b5bde482d7
commit 396e7a0af0
Signed by: yude
GPG Key ID: EB0FE5D925C4A968

View File

@ -8,4 +8,11 @@ module.exports = nextTranslate({
images: {
domains: ['mackerel.io'],
},
webpack: function (config) {
config.module.rules.push({
test: /\.md$/,
use: 'raw-loader',
})
return config
},
})