Skip to content

Commit

Permalink
fix: Fix to the complete relative file path for import. #12
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 15, 2021
1 parent 0fb0878 commit 2a67a41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Plugin, Transformer } from 'unified';
import { Parent, NodeData, Node } from 'unist';
import { visit } from './visit';
import { visit } from './visit.js';

export * from './visit';
export * from './visit.js';

export type RehypeRewriteOptions = (node: NodeData<Parent>, index: number, parent: NodeData<Parent>) => void

Expand Down

0 comments on commit 2a67a41

Please # to comment.