Skip to content

Commit 3c2da78

Browse files
authored
Merge pull request #56 from aguspdana/blitz-327-acorn-does-not-have-default-export
Fix: acorn does not have default export
2 parents b04ecdf + 2925550 commit 3c2da78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import acorn from 'acorn';
1+
import * as acorn from 'acorn';
22

33
const STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm;
44
const STRIP_KEYWORDS = /(\s*async\s*|\s*function\s*|\s*\(\s*|\s*\)\s*=>|\s*\)\s*\{)/;

0 commit comments

Comments
 (0)