File tree 1 file changed +1
-8
lines changed
packages/compiler-sfc/src
1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,6 @@ export interface SFCParseOptions {
29
29
ignoreEmpty ?: boolean
30
30
compiler ?: TemplateCompiler
31
31
templateParseOptions ?: ParserOptions
32
- /**
33
- * TODO remove in 3.5
34
- * @deprecated use `templateParseOptions: { prefixIdentifiers: false }` instead
35
- */
36
- parseExpressions ?: boolean
37
32
}
38
33
39
34
export interface SFCBlock {
@@ -138,8 +133,7 @@ export function parse(
138
133
pad = false ,
139
134
ignoreEmpty = true ,
140
135
compiler = CompilerDOM ,
141
- templateParseOptions = { } ,
142
- parseExpressions = true ,
136
+ templateParseOptions = { prefixIdentifiers : true } ,
143
137
} = options
144
138
145
139
const descriptor : SFCDescriptor = {
@@ -158,7 +152,6 @@ export function parse(
158
152
const errors : ( CompilerError | SyntaxError ) [ ] = [ ]
159
153
const ast = compiler . parse ( source , {
160
154
parseMode : 'sfc' ,
161
- prefixIdentifiers : parseExpressions ,
162
155
...templateParseOptions ,
163
156
onError : e => {
164
157
errors . push ( e )
You can’t perform that action at this time.
0 commit comments