mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
parent
f43e1a95f1
commit
10f41f5d47
|
@ -1575,7 +1575,7 @@ Example usage of `defaultLoaders.babel`:
|
||||||
// This source was taken from the @zeit/next-mdx plugin source:
|
// This source was taken from the @zeit/next-mdx plugin source:
|
||||||
// https://github.com/zeit/next-plugins/blob/master/packages/next-mdx
|
// https://github.com/zeit/next-plugins/blob/master/packages/next-mdx
|
||||||
module.exports = {
|
module.exports = {
|
||||||
webpack: (config, {}) => {
|
webpack: (config, options) => {
|
||||||
config.module.rules.push({
|
config.module.rules.push({
|
||||||
test: /\.mdx/,
|
test: /\.mdx/,
|
||||||
use: [
|
use: [
|
||||||
|
|
Loading…
Reference in a new issue