Skip to content

✨ NEW: format: Variables#477

Merged
jycouet merged 2 commits intomainfrom
feat/new-format
Nov 24, 2023
Merged

✨ NEW: format: Variables#477
jycouet merged 2 commits intomainfrom
feat/new-format

Conversation

@jycouet
Copy link
Owner

@jycouet jycouet commented Nov 24, 2023

With format: "variables"

Instead of an object:

export const PAGES: {
  main: '/main',
  about '/about'
}

You get individual variables

export const PAGES_main = '/main'
export const PAGES_about '/about'

That's great for code splitting and privacy 🎉


With almost all links in format: '_':
Capture d’écran 2023-11-24 à 15 49 45

With almost all links in format: 'variables':
Capture d’écran 2023-11-24 à 15 54 21

@vercel
Copy link

vercel bot commented Nov 24, 2023

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

Name Status Preview Comments Updated (UTC)
kitql ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 24, 2023 3:24pm

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