Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
quantizor committed Aug 18, 2024
1 parent 8dad583 commit ca37142
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Binary file not shown.
4 changes: 3 additions & 1 deletion index.cjs.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import Markdown, { compiler, RuleType } from './'
import Markdown, { compiler, RuleType } from './index.tsx'

Object.assign(Markdown, { compiler, RuleType })

export default Markdown as typeof Markdown & {
compiler: typeof compiler
RuleType: typeof RuleType
Expand Down
2 changes: 2 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"compilerOptions": {
"allowImportingTsExtensions": true,
"declaration": true,
// Disable because enabling this option can also force consuming libraries to enable it
"esModuleInterop": false,
"incremental": true,
"jsx": "react",
"module": "ESNext",
"moduleResolution": "node",
"noEmit": true,
"outDir": "./dist",
"preserveConstEnums": true,
"target": "ESNext"
Expand Down

0 comments on commit ca37142

Please sign in to comment.