Repository navigation
build!: require Qwik 2.0.0-rc.4 and move to Vite 8 - #23
Merged
Merged
Conversation
Since 76e7fd0 the script ran `oxlint --debug=files .`, which only prints the files it would lint and exits 0, so neither `pnpm lint` nor the CI linted anything. The whole repo passes `oxlint .`.
The catalog moves @qwik.dev/core, @qwik.dev/router and eslint-plugin-qwik to 2.0.0-rc.4, which needs Vite 8 (Rolldown). The production build works under Rolldown now: the Q14 errors of the betas are gone. The configs use Vite 8's built-in tsconfig paths instead of vite-tsconfig-paths, build.rolldownOptions, and JSON imports with an import attribute. The library output is two files instead of three: Rolldown puts the code both entries share into headless.qwik.mjs, which index.qwik.mjs imports. BREAKING CHANGE: qwik-sonner now needs @qwik.dev/core 2.0.0-rc.4 or later, and so Vite 8.
On Qwik 2.0.0-beta.37's dev server a plain toast followed right away by a typed one could stall the Toaster for good (7 of 20 loads). Qwik 2.0.0-rc.4 fixed it (60 of 60).
AGENTS.md drops the Vite 7 pin, explains how to check a production build, and lists the Vite 8 config changes. The site asks for @qwik.dev/core 2.0.0-rc.4 or later and has no known issues left, and the 404 comments describe what rc.4's SSG does.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the repo to Qwik 2.0.0-rc.4 (
@qwik.dev/core,@qwik.dev/routerandeslint-plugin-qwik). rc.4 needs Vite 8, which bundles with Rolldown. This is the content of 2.0.0-beta.3.Merge this right before
pnpm release. It toucheswebsite/, so merging deploys docs that ask for rc.4 while 2.0.0-beta.2 is still the published version.Public API and build output
@qwik.dev/core ^2.0.0-beta.37to^2.0.0-rc.4. Consumers need rc.4, and therefore Vite 8.lib/has two files instead of three. Rolldown puts the code both entries share intoheadless.qwik.mjs, whichindex.qwik.mjsimports, so nothing is duplicated. Theexportsof both entries are unchanged.index.qwik.mjsgoes from 19.95 to 20.12 kB.headless.qwik.mjsis 49.33 kB; before, it was 55.82 kB plus the shared chunk.Changes
vite ^8.3.5.vite-tsconfig-pathsis removed and replaced by Vite 8's built-inresolve.tsconfigPaths.build.rolldownOptionsinstead ofrollupOptions. JSON imports usewith { type: "json" }, and the website config imports its local modules with a.tsextension. Both clear Vite 8's config-loader warnings.pnpm lintlints again. Since76e7fd0, the script ranoxlint --debug=files .. That flag only lists the files and exits 0, so neitherpnpm lintnor the CI linted anything. The whole repo passesoxlint ..back-to-back.spec.ts(see below).404.htmlitself, but that page shows the build-time address until Qwik starts, soemit-404.mjsstays.Checks
fmt.check,build.types,build.libandlintpass at the root.build.typesandlintpass inwebsite/andtest/, and the full SSG build of the site passes.--repeat-each 3before the new test was added.build.client+build.preview, served byvite preview): 152/152, with no Qwik errors in the server log. This is the Rolldown problem that kept Vite pinned to 7 (Q14 in production SSR), and it's gone with rc.4.back-to-back.spec.tscovers it, and passes 40/40.topLayerabove a modal all work, with no console errors.