Skip to content

feat: support jiti.import(id, {default: true}) - #323

Merged
pi0 merged 6 commits into
mainfrom
feat/default
Oct 5, 2024
Merged

pi0 merged 6 commits into
mainfrom
feat/default

Conversation

@pi0

@pi0 pi0 commented Oct 5, 2024

Copy link
Copy Markdown
Member

Since the introduction of native ESM, a common pattern is that we need only the default export. A new jiti.import(id, { default: true }) makes this easier.

@pi0 pi0 self-assigned this Oct 5, 2024
@pi0 pi0 changed the title feat: support jiti.import(id, { default: true }) feat: support jiti.import(id, {default: true}) Oct 5, 2024
@pi0
pi0 merged commit daede71 into main Oct 5, 2024
@pi0
pi0 deleted the feat/default branch October 5, 2024 10:42
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.

1 participant