104b8d4732
**What's the problem this PR addresses?** `@next/mdx` adds the webpack loader `@mdx-js/loader` without resolving it to an absolute path Depends on https://github.com/vercel/next.js/pull/17606 **How did you fix it?** `require.resolve` the webpack loader before adding it
18 lines
348 B
JSON
18 lines
348 B
JSON
{
|
|
"name": "with-mdx",
|
|
"version": "1.0.1",
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@mdx-js/loader": "^1.5.1",
|
|
"@mdx-js/react": "^1.6.18",
|
|
"@next/mdx": "^9.1.1",
|
|
"next": "latest",
|
|
"react": "^16.8.6",
|
|
"react-dom": "^16.8.6"
|
|
},
|
|
"license": "MIT"
|
|
}
|