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

docs: document new nuxt import.meta.* properties #1377

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

danielroe
Copy link
Contributor

Motivation and Context

This is a very early PR to make these docs compatible with changes we expect to release in Nuxt v5.

In Nuxt v3.7.0 we added support for import.meta.* (see original PR) and we've been gradually updating docs and moving across from the old process.* patterned variables.

These variables are replaced at build-time and enable tree-shaking in bundled code.
This change affects runtime code (that is, that is processed by the Nuxt bundler, like vite or webpack) rather than code running in Node. So it really doesn't matter what the string is, but it makes more sense in an ESM-world to use import.meta rather than process.

Checklist

Copy link

vercel bot commented Mar 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
wundergraph-docs-v3 ⬜️ Ignored (Inspect) Visit Preview Mar 27, 2024 9:59am

Copy link

vercel bot commented Mar 27, 2024

@danielroe is attempting to deploy a commit to the WunderGraph Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

stale bot commented Apr 17, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale label Apr 17, 2024
@danielroe
Copy link
Contributor Author

Not stale.

@stale stale bot removed the meta: stale label Apr 17, 2024
Copy link

stale bot commented May 8, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale label May 8, 2024
@danielroe
Copy link
Contributor Author

Not stale

@stale stale bot removed the meta: stale label May 9, 2024
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

1 participant