Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/plugin-vue/src/handleHotUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,11 @@ export function isOnlyTemplateChanged(
}

function deepEqual(obj1: any, obj2: any, excludeProps: string[] = []): boolean {
// Check if both equals object
if (obj1 === obj2) {
return true
}

// Check if both objects are of the same type
if (typeof obj1 !== typeof obj2) {
return false
Expand Down