From 3b38c9ae9b08c41ee3a70c8ef94fd078f05a8925 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 28 Jul 2021 18:31:48 -0400 Subject: [PATCH] feat(sfc): remove experimental status for sfc style v-bind --- packages/compiler-sfc/src/parse.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/compiler-sfc/src/parse.ts b/packages/compiler-sfc/src/parse.ts index 53eb4ad3..9192491f 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\(/