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: Add require shim to esbuild #453

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

adityapk00
Copy link
Contributor

Motivation

Fix an issue where esbuild would not work with the dynamic requires coming from grpc-js

Change Summary

  • Add a tsup.config that injects the require shim needed

Merge Checklist

Choose all relevant options below by adding an x now or at any time before submitting for review

  • The title of this PR adheres to the conventional commits standard
  • The PR has been tagged with the appropriate change type label(s) (i.e. documentation, feature, bugfix, or chore)

Additional Context

More information about the problem here: sveltejs/kit#2400
ES build PR that this is copied from: evanw/esbuild#2067

Adding this as a separate PR so I can revert it easily later if needed.

@changeset-bot
Copy link

changeset-bot bot commented Jan 25, 2023

⚠️ No Changeset found

Latest commit: 79b7dd5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Signed-off-by: Aditya Kulkarni <[email protected]>
@adityapk00 adityapk00 merged commit 2b17452 into farcasterxyz:main Jan 25, 2023
@adityapk00 adityapk00 deleted the esbuildfix branch January 25, 2023 19:55
adityapk00 added a commit to adityapk00/hub that referenced this pull request Jan 25, 2023
adityapk00 added a commit that referenced this pull request Jan 25, 2023
* feat: Add RPC implementation

* wip

* feat: protobufs signer store (#449)

* add IdRegistryEvent proto and utils

* add signerStore

* add signer store to engine

* add changeset

* wip

* feat: protobufs cast store (#452)

* protobuf cast store

* reuse makeCastIdKey and fix import format

* wip

* fix: Add require shim to esbuild (#453)

* sync engine test
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.

1 participant