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

feat: support js autoExtension #28

Merged
merged 4 commits into from
Jul 8, 2024
Merged

feat: support js autoExtension #28

merged 4 commits into from
Jul 8, 2024

Conversation

Timeless0911
Copy link
Contributor

@Timeless0911 Timeless0911 commented Jul 8, 2024

Summary

add autoExtension config

  • generate .mjs in build artifacts with esm format when type is commonjs
  • generate .cjs in build artifacts with cjs format when type is module

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@Timeless0911 Timeless0911 requested a review from fi3ework July 8, 2024 11:21
@fi3ework fi3ework merged commit 5f38246 into main Jul 8, 2024
3 checks passed
@fi3ework fi3ework deleted the feat/autoExtension branch July 8, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants