Skip to content

Conversation

chqrlie
Copy link
Collaborator

@chqrlie chqrlie commented Apr 7, 2024

  • use skip_shebang in JS_DetectModule before scanning for import statements
  • this allows quickjs shell scripts to import modules

- use `skip_shebang` in `JS_DetectModule` before scanning for
  `import` statements
@chqrlie chqrlie merged commit d619882 into quickjs-ng:master Apr 7, 2024
@chqrlie chqrlie deleted the accept-module-scripts branch April 7, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants