mirror of
https://github.com/yude-jp/yude.jp
synced 2024-12-22 20:20:09 +09:00
Update configuration for raw-loader
This commit is contained in:
parent
b5bde482d7
commit
396e7a0af0
@ -8,4 +8,11 @@ module.exports = nextTranslate({
|
|||||||
images: {
|
images: {
|
||||||
domains: ['mackerel.io'],
|
domains: ['mackerel.io'],
|
||||||
},
|
},
|
||||||
|
webpack: function (config) {
|
||||||
|
config.module.rules.push({
|
||||||
|
test: /\.md$/,
|
||||||
|
use: 'raw-loader',
|
||||||
|
})
|
||||||
|
return config
|
||||||
|
},
|
||||||
})
|
})
|
Loading…
Reference in New Issue
Block a user