Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #427, #556 adds options to set sourceType #649

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eamodio
Copy link

@eamodio eamodio commented Jan 8, 2025

Refs #427, #556

I added a new parserOptions prop to the options to control the sourceType

Copy link

linux-foundation-easycla bot commented Jan 8, 2025

CLA Signed


The committers listed above are authorized under a signed CLA.

Copy link
Member

@evenstensberg evenstensberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign the CLA please 🥰

@eamodio
Copy link
Author

eamodio commented Jan 8, 2025

Done 😀

@valscion
Copy link
Member

valscion commented Jan 9, 2025

Thanks! I wonder if there is any other solution than forcing the user to change an option? Is there some way we could infer whethet the source content is a module and not a script?

I'd rather avoid adding more options to support something which should work out-of-the-box.

@eamodio
Copy link
Author

eamodio commented Jan 10, 2025

Agreed, but not sure how to detect that. Ideas?

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.

3 participants