feat(sfc): remove experimental status for sfc style v-bind

This commit is contained in:
Evan You 2021-07-28 18:31:48 -04:00
parent 51ee84fc6a
commit 3b38c9ae9b

View File

@ -11,7 +11,6 @@ import { RawSourceMap, SourceMapGenerator } from 'source-map'
import { TemplateCompiler } from './compileTemplate'
import { Statement } from '@babel/types'
import { parseCssVars } from './cssVars'
import { warnExperimental } from './warn'
import { createCache } from './cache'
export interface SFCParseOptions {
@ -264,9 +263,6 @@ export function parse(
// parse CSS vars
descriptor.cssVars = parseCssVars(descriptor)
if (descriptor.cssVars.length) {
warnExperimental(`v-bind() CSS variable injection`, 231)
}
// check if the SFC uses :slotted
const slottedRE = /(?:::v-|:)slotted\(/