Repository navigation
chore(query-devtools/tsdown.config): add '@refresh skip' banner so the app's 'solid-refresh' does not wrap the bundled Solid runtime - #12517
Conversation
…e app's 'solid-refresh' does not wrap the bundled Solid runtime
🦋 Changeset detectedLatest commit: 4129ea1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 24 packages
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 |
|
View your CI Pipeline Execution ↗ for commit 4129ea1
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version Preview5 package(s) bumped directly, 19 bumped as dependents. 🟩 Patch bumps
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
size-limit report 📦
|
🎯 Changes
Adds
/* @refresh skip */as apostBannerto every@tanstack/query-devtoolsbuild output.@tanstack/query-devtoolsbundles its own Solid runtime (alwaysBundle: [/./]). When the package resolves outsidenode_modules(workspace links,pnpm link),vite-plugin-solidtreats the prebuilt files as app source andsolid-refreshwraps their components with the app'ssolid-js. The two runtimes then mix, and opening a page with the devtools in a SolidStart dev server throwsCannot read properties of undefined (reading 'sources').@refresh skipis the directivesolid-refreshprovides to opt a file out. Installs from npm resolve insidenode_modules, which the plugin already skips, so they are unaffected. Runtime code is unchanged; only the leading comment is added, and the sourcemaps account for the extra line.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit