chore: use webpack-compatible pure annotation

This commit is contained in:
Evan You
2019-10-15 12:22:32 -04:00
parent 7de3aee317
commit 74d501829c
4 changed files with 6 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ import {
} from '../utils'
import { isGloballyWhitelisted, makeMap } from '@vue/shared'
const isLiteralWhitelisted = /*@__PURE__*/ makeMap('true,false,null,this')
const isLiteralWhitelisted = /*#__PURE__*/ makeMap('true,false,null,this')
export const transformExpression: NodeTransform = (node, context) => {
if (node.type === NodeTypes.INTERPOLATION) {