From: Evan You Date: Wed, 28 Jul 2021 22:31:48 +0000 (-0400) Subject: feat(sfc): remove experimental status for sfc style v-bind X-Git-Tag: v3.2.0-beta.7~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b38c9ae9b08c41ee3a70c8ef94fd078f05a8925;p=thirdparty%2Fvuejs%2Fcore.git feat(sfc): remove experimental status for sfc style v-bind --- diff --git a/packages/compiler-sfc/src/parse.ts b/packages/compiler-sfc/src/parse.ts index 53eb4ad3fb..9192491fca 100644 --- a/packages/compiler-sfc/src/parse.ts +++ b/packages/compiler-sfc/src/parse.ts @@ -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\(/