Skip to content

Commit c1b8107

Browse files
committed
fix
1 parent cf48027 commit c1b8107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ function insertCompiledTemplate<EnvSpecificOptions>(
507507
assignmentName = t.stringLiteral(rootName + ':' + assignment.id.name);
508508
}
509509
if (assignment.type === 'ExportDefaultDeclaration') {
510-
assignmentName = t.stringLiteral(name);
510+
assignmentName = t.stringLiteral(rootName);
511511
}
512512

513513
if (config.rfc931Support) {

0 commit comments

Comments
 (0)