qwikifiers / qwik-ui

Qwik's official Headless and styled component library
https://qwikui.com
MIT License
558 stars 115 forks source link

chore(website vite.config): add visible chunk names to rollupOptions… #721

Closed maiieul closed 3 weeks ago

maiieul commented 3 weeks ago

What is it?

Why is it needed?

This allows seeing the chunk file names instead of q-[hash].js in preview or production:

image

This is a bit of a hack, but I think it will be helpful to have this, maybe up until v1, so that we have better visibility into what's happening when looking up the network tab.

I'll try to create a Qwik-City PR at some point to make this happen when setting qwikVite.debug to true.

Checklist:

changeset-bot[bot] commented 3 weeks ago

⚠️ No Changeset found

Latest commit: 9b79d51bf8368f88b6ee0f0bf2bb26e359b47af5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

thejackshelton commented 3 weeks ago

Looks good! Merging.