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 --experimental-local with wrangler pages dev #2855

Merged
merged 1 commit into from
Mar 6, 2023

Conversation

GregBrimble
Copy link
Member

What this PR solves / how to test:

wrangler pages dev --experimental-local will no longer fail with an error like local worker: TypeError: generateASSETSBinding2 is not a function.

Author has included the following, where applicable:

  • Tests
  • Changeset

Reviewer has performed the following, where applicable:

  • Checked for inclusion of relevant tests
  • Checked for inclusion of a relevant changeset
  • Checked for creation of associated docs updates
  • Manually pulled down the changes and spot-tested

Fixes # [insert issue number].

@GregBrimble GregBrimble requested a review from a team as a code owner March 4, 2023 20:10
@changeset-bot
Copy link

changeset-bot bot commented Mar 4, 2023

🦋 Changeset detected

Latest commit: b52c948

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
wrangler Patch

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

@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2023

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/4343105943/npm-package-wrangler-2855

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/2855/npm-package-wrangler-2855

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/4343105943/npm-package-wrangler-2855 dev path/to/script.js
Additional artifacts:
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/4343105943/npm-package-cloudflare-pages-shared-2855

Note that these links will no longer work once the GitHub Actions artifact expires.

@codecov
Copy link

codecov bot commented Mar 4, 2023

Codecov Report

Merging #2855 (b52c948) into main (ad4b123) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2855   +/-   ##
=======================================
  Coverage   74.05%   74.05%           
=======================================
  Files         166      166           
  Lines       10218    10218           
  Branches     2734     2734           
=======================================
  Hits         7567     7567           
  Misses       2651     2651           
Impacted Files Coverage Δ
packages/wrangler/src/dev/local.tsx 21.77% <0.00%> (ø)

@GregBrimble GregBrimble force-pushed the fix-experimental-local-pages-dev branch from fbaa712 to b52c948 Compare March 6, 2023 11:54
@GregBrimble GregBrimble merged commit 226e63f into main Mar 6, 2023
@GregBrimble GregBrimble deleted the fix-experimental-local-pages-dev branch March 6, 2023 12:07
@github-actions github-actions bot mentioned this pull request Mar 6, 2023
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.

None yet

2 participants