You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: pre-bundle devtools when it is only a dependency of the plugin
The optimizeDeps include for @solidjs/start-devtools was gated on the
package being reachable from the app root, but resolveDevtools happily
falls back to resolving it from the plugin's own location — so in
pnpm-isolated installs the toolbar was enabled without being
pre-bundled. It enters the graph behind virtual modules the scanner
never crawls, and the resulting first-request re-optimize can pair
chunks from different passes whose shared minified exports disagree,
taking down the whole client entry graph. Emit Vite's nested-include
form (`@solidjs/vite-plugin > @solidjs/start-devtools`) for that
install shape so enablement and pre-bundling can't disagree.
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments