Favivon - Correção

This commit is contained in:
2026-05-30 19:59:39 -03:00
parent 76ddaa815d
commit d7dfd221f0
32859 changed files with 5459654 additions and 404 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+18
View File
@@ -0,0 +1,18 @@
import { Node } from '@babel/core';
import { Plugin } from 'vite';
type Options = {
predicate?: (node: Node) => boolean;
base?: string;
};
/**
* 直接在 JSX 元素上添加 code-path 属性
*
* 示例:
* <div>Hello</div>
* ->
* <div code-path="src/App.tsx:1:1">Hello</div>
*/
declare function inspectAttr(options?: Options): Plugin;
export { inspectAttr };
+18
View File
@@ -0,0 +1,18 @@
import { Node } from '@babel/core';
import { Plugin } from 'vite';
type Options = {
predicate?: (node: Node) => boolean;
base?: string;
};
/**
* 直接在 JSX 元素上添加 code-path 属性
*
* 示例:
* <div>Hello</div>
* ->
* <div code-path="src/App.tsx:1:1">Hello</div>
*/
declare function inspectAttr(options?: Options): Plugin;
export { inspectAttr };
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+10
View File
@@ -0,0 +1,10 @@
import { Node } from '@babel/core';
import { Plugin } from 'vite';
type Options = {
predicate?: (node: Node) => boolean;
base?: string;
};
declare function inspectDom(options?: Options): Plugin;
export { inspectDom };
+10
View File
@@ -0,0 +1,10 @@
import { Node } from '@babel/core';
import { Plugin } from 'vite';
type Options = {
predicate?: (node: Node) => boolean;
base?: string;
};
declare function inspectDom(options?: Options): Plugin;
export { inspectDom };
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long