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

Fix Node Importing Issues #14

Merged
merged 2 commits into from
Apr 12, 2024
Merged

Fix Node Importing Issues #14

merged 2 commits into from
Apr 12, 2024

Conversation

flanagankp
Copy link
Contributor

Description

There is an incorrect file path in the package.json file. Also we don't want the field type:"module" as it causes errors with typescript node apps that are built for "commonJS". Specifically according to node:
index.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
This package contains both esm and commonJS builds so we don't want to declare this type:"module" field.

@flanagankp flanagankp requested a review from a team as a code owner April 12, 2024 16:44
@flanagankp flanagankp merged commit b0b1726 into main Apr 12, 2024
1 check passed
@flanagankp flanagankp deleted the package-errors branch April 12, 2024 16:52
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.

2 participants