docs(nextjs): fixed webpack loader error (#2946)
A simple fix that allows webpack to build.
This commit is contained in:
parent
553264f136
commit
dd754e9377
@ -80,7 +80,7 @@ module.exports = {
|
|||||||
cfg.module.rules.push(
|
cfg.module.rules.push(
|
||||||
{
|
{
|
||||||
test: /\.md$/,
|
test: /\.md$/,
|
||||||
use: 'frontmatter-markdown-loader',
|
loader: 'frontmatter-markdown-loader',
|
||||||
options: { mode: ['react-component'] }
|
options: { mode: ['react-component'] }
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user