chore: fix sfc playground ci build

This commit is contained in:
Evan You
2021-08-23 13:55:06 -04:00
parent 80ed275073
commit 40994e967c
3 changed files with 12 additions and 4 deletions

View File

@@ -4,7 +4,6 @@ export { compileTemplate } from './compileTemplate'
export { compileStyle, compileStyleAsync } from './compileStyle'
export { compileScript } from './compileScript'
export { rewriteDefault } from './rewriteDefault'
export { generateCodeFrame } from '@vue/compiler-core'
export {
shouldTransform as shouldTransformRef,
transform as transformRef,
@@ -16,6 +15,13 @@ export { parse as babelParse } from '@babel/parser'
import MagicString from 'magic-string'
export { MagicString }
export { walk } from 'estree-walker'
export {
generateCodeFrame,
walkIdentifiers,
extractIdentifiers,
isInDestructureAssignment,
isStaticProperty
} from '@vue/compiler-core'
// Types
export {

View File

@@ -1,12 +1,14 @@
import { store, File } from '../store'
import { MAIN_FILE } from '../transform'
import { babelParse, MagicString, walk } from '@vue/compiler-sfc'
import {
babelParse,
MagicString,
walk,
walkIdentifiers,
extractIdentifiers,
isInDestructureAssignment,
isStaticProperty
} from '@vue/compiler-core'
} from '@vue/compiler-sfc'
import { babelParserDefaultPlugins } from '@vue/shared'
import { ExportSpecifier, Identifier, Node } from '@babel/types'