Skip to content

Fix require for the bin.js file - #243

Merged
DZakh merged 1 commit into
mainfrom
dz/fix-require
Oct 1, 2024
Merged

DZakh merged 1 commit into
mainfrom
dz/fix-require

Conversation

@DZakh

@DZakh DZakh commented Oct 1, 2024

Copy link
Copy Markdown
Member

require.resolve didn't work correctly with esm.

I get:

image

@DZakh
DZakh requested a review from JonoPrest October 1, 2024 14:31
@DZakh
DZakh enabled auto-merge (squash) October 1, 2024 14:37

@JonoPrest JonoPrest left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this work when using a ts-node indexer?

@DZakh
DZakh merged commit a236a89 into main Oct 1, 2024
@DZakh
DZakh deleted the dz/fix-require branch October 1, 2024 14: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.

2 participants