-
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* refactor: replace RuleType enum with a const & export it in index.cjs.tsx * chore: add changeset * chore: fix build --------- Co-authored-by: Evan Jacobs <probablyup@gmail.com>
- Loading branch information
1 parent
acd970d
commit 553a175
Showing
5 changed files
with
89 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'markdown-to-jsx': patch | ||
--- | ||
|
||
Replace RuleType enum with an object |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
import Markdown, { compiler } from './' | ||
Object.assign(Markdown, { compiler }) | ||
export default Markdown as typeof Markdown & { compiler: typeof compiler } | ||
import Markdown, { compiler, RuleType } from './index.tsx' | ||
|
||
Object.assign(Markdown, { compiler, RuleType }) | ||
|
||
export default Markdown as typeof Markdown & { | ||
compiler: typeof compiler | ||
RuleType: typeof RuleType | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters