Skip to content

Commit fb3bfde

Browse files
committed
chore: fix wrong condition in 3ff8369
1 parent 2eb3322 commit fb3bfde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-sfc/src/compileScript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export function compileScript(
187187
if (options.babelParserPlugins) plugins.push(...options.babelParserPlugins)
188188
if (isTS) {
189189
plugins.push('typescript')
190-
if (plugins.includes('decorators')) {
190+
if (!plugins.includes('decorators')) {
191191
plugins.push('decorators-legacy')
192192
}
193193
}

0 commit comments

Comments
 (0)