We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ea4817 commit d395c26Copy full SHA for d395c26
.changeset/common-bottles-move.md
@@ -0,0 +1,5 @@
1
+---
2
+'@tanstack/devtools-vite': minor
3
4
+
5
+migrate from Babel to oxc-parser + MagicString
packages/devtools-vite/src/ast-utils.ts
@@ -1,9 +1,5 @@
import type { Node } from 'oxc-parser'
-export function isNode(value: unknown): value is Node {
- return typeof value === 'object' && value !== null && 'type' in value
-}
6
-
7
/**
8
* Cache of keys that hold child nodes (objects/arrays) per AST node type.
9
* Since oxc-parser produces AST via JSON.parse, every instance of a given
0 commit comments