Skip to content

Commit

Permalink
Use relative module id when displaying missing export message
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Asquith committed Mar 6, 2020
1 parent 532610c commit 9c8764c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Module.ts
Expand Up @@ -157,9 +157,9 @@ function handleMissingExport(
return importingModule.error(
{
code: 'MISSING_EXPORT',
message: `'${exportName}' is not exported by ${relativeId(importedModule)}, imported by ${
importingModule.id
}`,
message: `'${exportName}' is not exported by ${relativeId(
importedModule
)}, imported by ${relativeId(importingModule.id)}`,
url: `https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module`
},
importerStart!
Expand Down

0 comments on commit 9c8764c

Please sign in to comment.