mirror of
https://github.com/TanStack/devtools.git
synced 2026-11-16 10:49:48 +00:00
Five published packages declared `"bin": { "intent": "./bin/intent.js" }`.
npm can link that file as node_modules/.bin/intent instead of the real
@tanstack/intent CLI. The file imports @tanstack/intent/intent-library,
which @tanstack/intent removed (TanStack/intent#143), so `intent` failed with
ERR_PACKAGE_PATH_NOT_EXPORTED.
Current @tanstack/intent finds packages with skills by the
"tanstack-intent" keyword, so the packages get that keyword instead.
Fixes #525
|
History
|
|
|---|---|---|
| .. | ||
| skills/devtools-vite-plugin | ||
| src | ||
| tests | ||
| CHANGELOG.md | ||
| eslint.config.js | ||
| package.json | ||
| README.md | ||
| tsconfig.docs.json | ||
| tsconfig.json | ||
| vite.config.ts | ||
@tanstack/devtools-vite
This package is still under active development and might have breaking changes in the future. Please use it with caution.
General Usage
The @tanstack/devtools-vite package is designed to work with Vite projects.
Plug it into your plugins array:
import { devtools } from '@tanstack/devtools-vite'
export default {
plugins: [
// Important to include it first!
devtools(),
... //rest of the plugins
],
}