Skip to content

Conversation

wmertens
Copy link
Member

@wmertens wmertens commented Aug 6, 2025

v2 version of #7109 with vendorRoots removal, but not throwing

@wmertens wmertens requested review from a team as code owners August 6, 2025 09:04
Copy link

changeset-bot bot commented Aug 6, 2025

🦋 Changeset detected

Latest commit: 0cdbd6d

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

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

@wmertens wmertens force-pushed the v2-throw-duplicate branch from 694fb2e to 80fa09c Compare August 6, 2025 09:09
Copy link
Contributor

github-actions bot commented Aug 6, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview 0cdbd6d

@wmertens
Copy link
Member Author

wmertens commented Aug 6, 2025

the reason playwright errored and now the cli tests that both run vite in ssr server mode which loads vite config with uses qwik-router vite plugin, which imports qwik core, and then the preview server runs in-process with its own qwik core copy. So it's actually a bug in our bundling!

@wmertens wmertens force-pushed the v2-throw-duplicate branch 3 times, most recently from 24463c5 to dc4560b Compare August 15, 2025 14:45
@wmertens wmertens marked this pull request as draft August 15, 2025 16:13
@wmertens wmertens force-pushed the v2-throw-duplicate branch from 4743ea1 to 4fc27e6 Compare August 15, 2025 16:20
@wmertens wmertens force-pushed the v2-throw-duplicate branch 4 times, most recently from e1740de to 78b4b6b Compare August 24, 2025 07:57
Copy link

pkg-pr-new bot commented Aug 24, 2025

Open in StackBlitz

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/core@7784
npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/router@7784
npm i https://pkg.pr.new/QwikDev/qwik/eslint-plugin-qwik@7784
npm i https://pkg.pr.new/QwikDev/qwik/create-qwik@7784

commit: 0cdbd6d

@wmertens wmertens force-pushed the v2-throw-duplicate branch 2 times, most recently from 380ec6a to 7a5d4a8 Compare August 25, 2025 07:02
wmertens and others added 4 commits August 31, 2025 11:51
this should make it easier to detect build misconfigurations
It reads all packages at startup. Instead, there's now an error if you
externalize a qwik package during a server build.
@wmertens wmertens force-pushed the v2-throw-duplicate branch from 7a5d4a8 to 0cdbd6d Compare August 31, 2025 10:21
@wmertens wmertens changed the title chore: throw error when importing core twice chore: warn when importing core twice Aug 31, 2025
@wmertens wmertens marked this pull request as ready for review August 31, 2025 10:27
@wmertens wmertens merged commit e0d8ce2 into build/v2 Aug 31, 2025
20 checks passed
@wmertens wmertens deleted the v2-throw-duplicate branch August 31, 2025 10:55
Copy link
Member

@gioboa gioboa left a comment

Choose a reason for hiding this comment

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

💪👏

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