Pass external to esbuild in the Cloudflare adapters#10424
Closed
cimnine wants to merge 2 commits into
Closed
Conversation
🦋 Changeset detectedLatest commit: 3c767a7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
Author
|
Oh, I didn't check the PRs before 😅 At least, there seems to be a need. |
benmccann
reviewed
Jul 24, 2023
benmccann
reviewed
Jul 24, 2023
5 tasks
benmccann
reviewed
Aug 2, 2023
benmccann
reviewed
Aug 2, 2023
5 tasks
Author
|
I've applied the requested changes and rebased onto the latest master. |
Member
benmccann
reviewed
Aug 2, 2023
benmccann
reviewed
Aug 2, 2023
benmccann
reviewed
Aug 2, 2023
benmccann
reviewed
Aug 2, 2023
benmccann
reviewed
Aug 2, 2023
cimnine
commented
Aug 3, 2023
| }; | ||
| ``` | ||
|
|
||
| ### Custom config |
Author
There was a problem hiding this comment.
Should I change this one to config as well, like:
Suggested change
| ### Custom config | |
| ### `config` |
That would be consistent with the other file, IMO.
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
5 tasks
Member
|
Closing this in favor of #10521 |
5 tasks
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
Tests
pnpm testand lint the project withpnpm lintandpnpm checkChangesets
pnpm changesetand following the prompts. Changesets that add features should beminorand those that fix bugs should bepatch. Please prefix changeset messages withfeat:,fix:, orchore:.Some external modules rely on NodeJS modules, such as
fs. This causes problems duringnpm run build, even if my code does not rely on the respective code-path that requires any problematic modules (likefs). For me, this is the case with ical-generator.This change is inspired by the already existing functionality in the Vercel adapter, that accomplished the same:
kit/packages/adapter-vercel/index.d.ts
Lines 56 to 75 in b251b23
Respectively:
kit/packages/adapter-vercel/index.js
Lines 111 to 124 in b251b23
The only related issue that I've found was #6547, which was resolved because Stripe changed their implementation. This is the ideal resolution, I admit, but the world is not ideal as far as I'm concerned.