diff --git a/packages/compiler-sfc/src/index.ts b/packages/compiler-sfc/src/index.ts index bce09a14..1c4bb14e 100644 --- a/packages/compiler-sfc/src/index.ts +++ b/packages/compiler-sfc/src/index.ts @@ -14,7 +14,10 @@ export { export { parse as babelParse } from '@babel/parser' import MagicString from 'magic-string' export { MagicString } -export { walk } from 'estree-walker' +// technically internal but we want it in @vue/repl, cast it as any to avoid +// relying on estree types +import { walk as _walk } from 'estree-walker' +export const walk = _walk as any export { generateCodeFrame, walkIdentifiers,