feat(sfc): remove experimental status for sfc style v-bind
This commit is contained in:
parent
51ee84fc6a
commit
3b38c9ae9b
@ -11,7 +11,6 @@ import { RawSourceMap, SourceMapGenerator } from 'source-map'
|
|||||||
import { TemplateCompiler } from './compileTemplate'
|
import { TemplateCompiler } from './compileTemplate'
|
||||||
import { Statement } from '@babel/types'
|
import { Statement } from '@babel/types'
|
||||||
import { parseCssVars } from './cssVars'
|
import { parseCssVars } from './cssVars'
|
||||||
import { warnExperimental } from './warn'
|
|
||||||
import { createCache } from './cache'
|
import { createCache } from './cache'
|
||||||
|
|
||||||
export interface SFCParseOptions {
|
export interface SFCParseOptions {
|
||||||
@ -264,9 +263,6 @@ export function parse(
|
|||||||
|
|
||||||
// parse CSS vars
|
// parse CSS vars
|
||||||
descriptor.cssVars = parseCssVars(descriptor)
|
descriptor.cssVars = parseCssVars(descriptor)
|
||||||
if (descriptor.cssVars.length) {
|
|
||||||
warnExperimental(`v-bind() CSS variable injection`, 231)
|
|
||||||
}
|
|
||||||
|
|
||||||
// check if the SFC uses :slotted
|
// check if the SFC uses :slotted
|
||||||
const slottedRE = /(?:::v-|:)slotted\(/
|
const slottedRE = /(?:::v-|:)slotted\(/
|
||||||
|
Loading…
Reference in New Issue
Block a user