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

Implement --directory CLI option #2650

Merged
merged 1 commit into from May 2, 2024
Merged

Implement --directory CLI option #2650

merged 1 commit into from May 2, 2024

Conversation

hmdne
Copy link
Member

@hmdne hmdne commented Apr 16, 2024

As of now, it only works for the compiler runner and system runner (ie. Node) but nothing prevents us to make it work for other runners in the future as well.

This aims to produce an output that is more easily digestible by modern JS bundlers and that may work better for import maps. This is also a starting point for full ESM support.

This is partially extracted from #2502 (and I intend to split #2502 into some more separate branches, to make it more digestible).

@hmdne hmdne force-pushed the hmdne/directory branch 2 times, most recently from de11146 to f2fe9f6 Compare April 17, 2024 14:00
@hmdne hmdne force-pushed the hmdne/directory branch 2 times, most recently from b55de1a to 974e04e Compare May 2, 2024 07:16
As of now, it supports all the CLI runners, except of:
- browser runners
- miniracer runner (likely not a big problem, as I don't think it
  supports imports even)

This aims to produce an output that is more easily digestible by modern
JS bundlers and that may work better for import maps. This is also a
starting point for the full ESM support.
@hmdne hmdne marked this pull request as ready for review May 2, 2024 07:27
Copy link
Member

@elia elia left a comment

Choose a reason for hiding this comment

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

👍👍👍 📁

@elia elia merged commit 9ed93c6 into master May 2, 2024
20 checks passed
@elia elia deleted the hmdne/directory branch May 2, 2024 08:18
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.

None yet

2 participants