Browse Source

fix: use refractor/lib/all to support all lang

Timothy Lin 4 năm trước cách đây
mục cha
commit
e554cc08ab
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -6,7 +6,7 @@
 
 import { visit } from 'unist-util-visit'
 import toString from 'hast-util-to-string'
-import { refractor } from 'refractor'
+import { refractor } from 'refractor/lib/all.js'
 import rangeParser from 'parse-numeric-range'
 
 /**