@@ -112,7 +112,7 @@ AST({
112112 // Rollup and esbuild do not support using enforce to control the order of plugins. Users need to maintain the order manually.
113113 enforce: undefined ,
114114
115- // https://babeljs.io/docs/en/babel- parser#options
115+ // https://yuku.fyi/ parser/ #options
116116 parserOptions: {},
117117
118118 // Refer to Custom Transformers belows
@@ -122,6 +122,15 @@ AST({
122122
123123## Transformers
124124
125+ AST nodes follow ESTree / TypeScript-ESTree. Yuku's typed guards, builders,
126+ walker, and utilities are available from the ` ast ` namespace, while its types
127+ are directly exported from ` unplugin-ast/yuku ` . No additional Yuku packages are
128+ required.
129+
130+ ``` ts
131+ import { ast , type CallExpression } from ' unplugin-ast/yuku'
132+ ```
133+
125134### Built-in Transformers
126135
127136#### RemoveWrapperFunction
@@ -138,7 +147,7 @@ import { RemoveWrapperFunction } from 'unplugin-ast/transformers'
138147 */
139148export function RemoveWrapperFunction(
140149 functionNames : Arrayable <string >,
141- ): Transformer <CallExpression >
150+ ): Transformer <CallExpression | TaggedTemplateExpression >
142151```
143152
144153Transforms :
@@ -173,8 +182,8 @@ export function RemoveNode(
173182### Custom Transformers
174183
175184` ` ` ts
176- import type { CallExpression } from '@babel/types'
177185import type { Transformer } from 'unplugin-ast'
186+ import type { CallExpression } from 'unplugin-ast/yuku'
178187
179188export const RemoveWrapperFunction = (
180189 functionNames: string[],
0 commit comments