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 ef9c443 commit 9760b38Copy full SHA for 9760b38
src/package/file.js
@@ -37,7 +37,7 @@ class File {
37
this.onParse(this)
38
39
const data = await readFile(this.url)
40
- const program = parse(data, { sourceType: 'module', ecmaVersion: 2020 })
+ const program = parse(data, { sourceType: 'module', ecmaVersion: 2020, allowHashBang: true })
41
42
const imports = []
43
0 commit comments