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

Package is not consumable #49

Closed
kamontat opened this issue Dec 13, 2022 · 3 comments
Closed

Package is not consumable #49

kamontat opened this issue Dec 13, 2022 · 3 comments

Comments

@kamontat
Copy link
Contributor

kamontat commented Dec 13, 2022

We have problem when we would like to exports both commonjs and esmodule on same package.
However, it not works.

I have a idea to use emitCjsExtensionForCommonJS and emitMjsExtensionForESModule configuration on typescript.json in rig-package instead of building output on separate directories.

@kamontat
Copy link
Contributor Author

microsoft/rushstack#2531

@kamontat kamontat changed the title module js not works when using current setup Package is not consumable Dec 14, 2022
@kamontat
Copy link
Contributor Author

@kamontat
Copy link
Contributor Author

kamontat commented Jan 2, 2023

fixed

@kamontat kamontat closed this as completed Jan 2, 2023
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

No branches or pull requests

1 participant