0
0
mirror of https://github.com/yude-jp/yude.jp synced 2025-10-12 19:28:43 +09:00

Update configuration for raw-loader

This commit is contained in:
2021-05-23 15:45:54 +09:00
parent b5bde482d7
commit 396e7a0af0

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
},
})