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 #3745 Change ES6 import to require syntax #3746

Merged
merged 6 commits into from
Aug 17, 2022

Conversation

siddhsuresh
Copy link
Member

@siddhsuresh siddhsuresh commented Aug 17, 2022

Closes: #3745

  • replace import { withBlitz } from "@blitzjs/next" to const { withBlitz } = require("@blitzjs/next")

@changeset-bot
Copy link

changeset-bot bot commented Aug 17, 2022

🦋 Changeset detected

Latest commit: 0a24d3e

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

This PR includes changesets to release 7 packages
Name Type
@blitzjs/codemod Patch
@blitzjs/auth Patch
@blitzjs/next Patch
@blitzjs/rpc Patch
@blitzjs/config Patch
@blitzjs/generator Patch
blitz 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

packages/codemod/src/upgrade-legacy.ts Outdated Show resolved Hide resolved
@siddhsuresh siddhsuresh requested a review from itsdillon August 17, 2022 14:04
@itsdillon itsdillon merged commit a3b5fdd into blitz-js:main Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Codemod using import statement for withBlitz in next.config.js
3 participants