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: support imports of form dist/* #242

Merged
merged 1 commit into from Mar 20, 2024
Merged

fix: support imports of form dist/* #242

merged 1 commit into from Mar 20, 2024

Conversation

boopathi
Copy link
Member

fix #241

Allow the following imports - it was possible until #226 where we moved the output dirs.

// index.js

require("graphql-jit/dist/error");
require("graphql-jit/dist/error.js");

// index.mjs

import "graphql-jit/dist/error";
import "graphql-jit/dist/error.js";

@trkohler
Copy link
Contributor

👍

1 similar comment
@nabeelbukhari
Copy link
Member

👍

@boopathi boopathi merged commit 0b9910c into main Mar 20, 2024
9 checks passed
@boopathi boopathi deleted the fix-exports branch March 20, 2024 13:02
@boopathi boopathi mentioned this pull request Mar 20, 2024
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.

cjs export broken
3 participants