Skip to content

Commit

Permalink
chore(plugin-vue): simplify resolved declaration
Browse files Browse the repository at this point in the history
Co-authored-by: edison <daiwei521@126.com>
  • Loading branch information
Aaron-zon and edison1105 authored Jan 9, 2025
1 parent ae9d948 commit 7288a59
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/plugin-vue/src/script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ export function resolveScript(
return cached
}

let resolved: SFCScriptBlock | null = null

resolved = options.compiler.compileScript(descriptor, {
const resolved: SFCScriptBlock = options.compiler.compileScript(descriptor, {
...options.script,
id: descriptor.id,
isProd: options.isProduction,
Expand Down

0 comments on commit 7288a59

Please sign in to comment.