Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7288a59

Browse filesBrowse files
chore(plugin-vue): simplify resolved declaration
Co-authored-by: edison <daiwei521@126.com>
1 parent ae9d948 commit 7288a59
Copy full SHA for 7288a59

File tree

Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed

‎packages/plugin-vue/src/script.ts

Copy file name to clipboardExpand all lines: packages/plugin-vue/src/script.ts
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ export function resolveScript(
6969
return cached
7070
}
7171

72-
let resolved: SFCScriptBlock | null = null
73-
74-
resolved = options.compiler.compileScript(descriptor, {
72+
const resolved: SFCScriptBlock = options.compiler.compileScript(descriptor, {
7573
...options.script,
7674
id: descriptor.id,
7775
isProd: options.isProduction,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.