|
|
@@ -5,10 +5,11 @@ import {
|
|
|
type SourceLocation,
|
|
|
advancePositionWithClone,
|
|
|
isInDestructureAssignment,
|
|
|
+ isLiteralWhitelisted,
|
|
|
isStaticProperty,
|
|
|
walkIdentifiers,
|
|
|
} from '@vue/compiler-dom'
|
|
|
-import { isGloballyAllowed, makeMap } from '@vue/shared'
|
|
|
+import { isGloballyAllowed } from '@vue/shared'
|
|
|
import type { Identifier } from '@babel/types'
|
|
|
import {
|
|
|
type CodeFragment,
|
|
|
@@ -98,8 +99,6 @@ export function genExpression(
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-const isLiteralWhitelisted = /*#__PURE__*/ makeMap('true,false,null,this')
|
|
|
-
|
|
|
function genIdentifier(
|
|
|
raw: string,
|
|
|
{ options, vaporHelper, identifiers }: CodegenContext,
|