2 parents 9aaa8a5 + 5af8b56 commit 3622b7cCopy full SHA for 3622b7c
1 file changed
packages/remark-textras/src/index.ts
@@ -1,12 +1,12 @@
1
import type { Root, Parent } from "hast";
2
import { visit } from "unist-util-visit";
3
-import { getFirstAndLastText, addClass } from "./ast";
+import { getFirstAndLastText, addClass } from "./ast.js";
4
// This is required to augment the AST type, but unfortunately can’t
5
// be imported using `import type`.
6
// import "mdast-util-to-hast";
7
8
-export const OPENING_QUOTE = /^(?:‘|“|’|”)/;
9
-export const CLOSING_QUOTE = /(?:‘|“|’|”)$/;
+const OPENING_QUOTE = /^(?:‘|“|’|”)/;
+const CLOSING_QUOTE = /(?:‘|“|’|”)$/;
10
11
export function textrasPlugin() {
12
return transformer;
0 commit comments