Skip to content

Commit

Permalink
Revert "fix: Can't resolve 'react/jsx-runtime.js' (#250)"
Browse files Browse the repository at this point in the history
This reverts commit 28d667f.
  • Loading branch information
Bryce Kalow committed Mar 25, 2022
1 parent 0f111a3 commit f5182ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default [
dir: './dist',
format: 'es',
},
external: ['react', '@mdx-js/react', 'react/jsx-runtime'],
external: ['react', '@mdx-js/react', 'react/jsx-runtime.js'],
plugins: [
ts({
tsconfig: './tsconfig.json',
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import './idle-callback-polyfill'
import React, { useEffect, useState, useMemo } from 'react'
import * as runtime from 'react/jsx-runtime'
import * as runtime from 'react/jsx-runtime.js'
import * as mdx from '@mdx-js/react'
import { MDXRemoteSerializeResult } from './types'

Expand Down

0 comments on commit f5182ef

Please sign in to comment.