File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
import { ReactNode } from 'react'
2
- import { MdxRemote } from 'types'
2
+ import { MdxRemote } from './ types'
3
3
4
4
export default function hydrate (
5
5
/** Rendered MDX output. The direct output of `renderToString`. */
Original file line number Diff line number Diff line change 1
- import hydrate from 'hydrate'
2
- import renderToString from 'render-to-string'
1
+ import hydrate from './ hydrate'
2
+ import renderToString from './ render-to-string'
3
3
4
4
declare module 'next-mdx-remote/render-to-string' {
5
5
export default renderToString
Original file line number Diff line number Diff line change 1
- import { MdxRemote } from 'types'
2
1
import { Pluggable , Compiler } from 'unified'
2
+ import { MdxRemote } from './types'
3
3
4
4
/**
5
5
* Runs the MDX renderer on the MDX string provided with the components and data provided.
Original file line number Diff line number Diff line change 10
10
"moduleResolution" : " node" ,
11
11
"esModuleInterop" : true ,
12
12
"jsx" : " preserve" ,
13
- "baseUrl" : " ." ,
14
13
"typeRoots" : [" node_modules/@types" , " ./" ]
15
14
},
16
15
"exclude" : [" __tests__" ]
You can’t perform that action at this time.
0 commit comments