We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 848a622 commit 7de506cCopy full SHA for 7de506c
1 file changed
lib/client/html-to-dom.mjs
@@ -1,5 +1,5 @@
1
-import domparser from './domparser';
2
-import { formatDOM } from './utilities';
+import domparser from './domparser.js';
+import { formatDOM } from './utilities.js';
3
4
var DIRECTIVE_REGEX = /<(![a-zA-Z\s]+)>/; // e.g., <!doctype html>
5
@@ -29,5 +29,4 @@ function HTMLDOMParser(html) {
29
return formatDOM(domparser(html), null, directive);
30
}
31
32
-module.exports = HTMLDOMParser;
33
-module.exports.default = HTMLDOMParser;
+export default HTMLDOMParser;
0 commit comments