rsnext/examples/with-mdx/package.json
Kristoffer K 104b8d4732
fix(next-mdx): resolve webpack loader (#17983)
**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
2021-01-04 16:24:16 +00:00

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"
}