chore: fix wrong condition in 3ff83694
This commit is contained in:
parent
2eb332258d
commit
fb3bfde264
@ -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')
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user