Skip to content

Commit 6954d75

Browse files
committed
fix: out is always different from desciptor.template.content
1 parent 577322a commit 6954d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runTransformation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default function runTransformation(
9191

9292
// need to reconstruct the .vue file from descriptor blocks
9393
if (extension === '.vue') {
94-
if (out === descriptor!.template!.content) {
94+
if (out === fileInfo.source) {
9595
return source // skipped, don't bother re-stringifying
9696
}
9797
// remove redundant <template> tag

0 commit comments

Comments
 (0)