Skip to content

Commit

Permalink
fix: cache descriptor with correct resource path
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jun 16, 2022
1 parent 2e358ee commit f6c83b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports = function (source) {
})

// cache descriptor
setDescriptor(filename, descriptor)
setDescriptor(resourcePath, descriptor)

// if the query has a type field, this is a language block request
// e.g. foo.vue?type=template&id=xxxxx
Expand Down

0 comments on commit f6c83b5

Please sign in to comment.