Skip to content

Commit

Permalink
Merge pull request #22 from wataru-chocola/add_js_extension
Browse files Browse the repository at this point in the history
add file extension in import for nodejs and browser ESM compatibility
  • Loading branch information
wataru-chocola committed Sep 22, 2021
2 parents bf7ba80 + 5dc52c9 commit 823c065
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export { defListFromMarkdown } from './lib/from-markdown';
export { defListToMarkdown } from './lib/to-markdown';
export { defListFromMarkdown } from './lib/from-markdown.js';
export { defListToMarkdown } from './lib/to-markdown.js';
export {
defListHastHandlers,
mdastDefList2hast,
mdastDefListTerm2hast,
mdastDefListDescription2hast,
} from './lib/to-hast';
} from './lib/to-hast.js';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mdast-util-definition-list",
"version": "1.1.0",
"version": "1.1.1",
"description": "mdast extension for definition list",
"author": "Wataru Watanabe",
"license": "MIT",
Expand Down

0 comments on commit 823c065

Please sign in to comment.