Skip to content

Vite v8#1526

Merged
williamlark merged 21 commits into
masterfrom
vite-v8
Mar 23, 2026
Merged

Vite v8#1526
williamlark merged 21 commits into
masterfrom
vite-v8

Conversation

@williamlark
Copy link
Copy Markdown
Contributor

@williamlark williamlark commented Mar 19, 2026

Migrating to vite@8.

The vite plugin has a major bump since we're dropping support for v7, but that should be a safe upgrade.

For sku, this shouldn't break any apps unless they have incompatible dangerouslySetViteConfig options. Wasn't sure if we would mark that as breaking but I assumed we wouldn't.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 19, 2026

🦋 Changeset detected

Latest commit: 0d411ad

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

This PR includes changesets to release 2 packages
Name Type
@sku-lib/vite Major
sku Minor

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

@williamlark williamlark marked this pull request as ready for review March 19, 2026 03:18
@williamlark williamlark requested a review from a team as a code owner March 19, 2026 03:18
Comment thread packages/sku/src/services/vite/helpers/config/createConfig.ts Outdated
Comment thread packages/sku/package.json Outdated
Comment on lines +111 to 115
.sut6bid[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.sut6bid[type="number"]::-webkit-outer-spin-button {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird that this gets un-minified now, despite all the extra minification happening below 🤔

+ </style>
+ <style
+ type="text/css"
+ data-vite-dev-id="{cwd}/node_modules/braid-design-system/dist/lib/themes/vars.css.mjs.vanilla.css"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this affects anything, but just wanted to call it out in case it somehow does.

Comment on lines +19 to +20
"jsx-runtime.js": "CONTENTS IGNORED IN SNAPSHOT TEST",
"jsx-runtime.js.map": "CONTENTS IGNORED IN SNAPSHOT TEST",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess something in the react plugin changed? Or maybe Vite 8 is now compelled to output a chunk for this?

@williamlark williamlark requested a review from askoufis March 20, 2026 04:56
Copy link
Copy Markdown
Contributor

@askoufis askoufis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment, otherwise LGTM

Comment thread .changeset/modern-suits-help.md
@williamlark williamlark enabled auto-merge (squash) March 23, 2026 04:10
@williamlark williamlark merged commit a34849d into master Mar 23, 2026
4 checks passed
@williamlark williamlark deleted the vite-v8 branch March 23, 2026 04:14
@seek-oss-ci seek-oss-ci mentioned this pull request Mar 23, 2026
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.

2 participants