-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Which project does this relate to?
Router
Describe the bug
I cannot build my project anymore after version 1.132.51 as I'm receiving the following error:
error during build:
[vite]: Rollup failed to resolve import "solid-js/web" from ".../node_modules/@tanstack/router-devtools-core/dist/index-BiZF0hsR.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
I'm not sure if this is because you moved solid-js from dependencies to devDependencies, but it doesn't make sense for me to install solid-js in my project.
Your Example Website or App
https://github.com/TanStack/router/releases/tag/v1.132.51
Steps to Reproduce the Bug or Issue
- Update @tanstack/react-router-devtools to v1.132.51 and build a project with vite
- It will output an error message like
error during build:
[vite]: Rollup failed to resolve import "solid-js/web" from ".../node_modules/@tanstack/router-devtools-core/dist/index-BiZF0hsR.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
Expected behavior
As a user I expect not to have to install solid-js library to use tanstack router devtools
Screenshots or Videos
No response
Platform
- Router: 1.132.51
- OS: macOS
- Bundler: vite
- Bundler Version: 7.1.9
Additional context
No response
ansh-les, Akronae and Virakal