Skip to content

Commit

Permalink
chore: fix wrong condition in 3ff8369
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jul 1, 2022
1 parent 2eb3322 commit fb3bfde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-sfc/src/compileScript.ts
Expand Up @@ -187,7 +187,7 @@ export function compileScript(
if (options.babelParserPlugins) plugins.push(...options.babelParserPlugins)
if (isTS) {
plugins.push('typescript')
if (plugins.includes('decorators')) {
if (!plugins.includes('decorators')) {
plugins.push('decorators-legacy')
}
}
Expand Down

1 comment on commit fb3bfde

@Se1ker
Copy link

@Se1ker Se1ker commented on fb3bfde Jul 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃尃

Please sign in to comment.