Skip to content

Commit

Permalink
Merge pull request #56 from aguspdana/blitz-327-acorn-does-not-have-d…
Browse files Browse the repository at this point in the history
…efault-export

Fix: acorn does not have default export
  • Loading branch information
lveillard authored Apr 1, 2024
2 parents b04ecdf + 2925550 commit 3c2da78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import acorn from 'acorn';
import * as acorn from 'acorn';

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

0 comments on commit 3c2da78

Please sign in to comment.