Skip to content

Commit

Permalink
Rewrite default import in module reference meta
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Apr 12, 2022
1 parent 7f35e4d commit b756770
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -163,7 +163,7 @@ export default async function transformSource(
'{ $$typeof: MODULE_REFERENCE, filepath: ' +
JSON.stringify(resourcePath) +
', name: ' +
JSON.stringify(name) +
JSON.stringify(name === 'default' ? '' : name) +
' };\n'
res[name] = moduleRef
return res
Expand Down

0 comments on commit b756770

Please sign in to comment.