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.
2 parents b04ecdf + 2925550 commit 3c2da78Copy full SHA for 3c2da78
src/engine/helpers.ts
@@ -1,4 +1,4 @@
1
-import acorn from 'acorn';
+import * as acorn from 'acorn';
2
3
const STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm;
4
const STRIP_KEYWORDS = /(\s*async\s*|\s*function\s*|\s*\(\s*|\s*\)\s*=>|\s*\)\s*\{)/;
0 commit comments