Skip to content

Commit

Permalink
rephrase missing export message
Browse files Browse the repository at this point in the history
The phrasing attempts to match the "imported by" style
elsewhere in the codebase
  • Loading branch information
Timothy Asquith committed Feb 28, 2020
1 parent 34ceef4 commit 9452199
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ function handleMissingExport(
return importingModule.error(
{
code: 'MISSING_EXPORT',
message: `'${exportName}' is not exported by ${relativeId(
importedModule
)}, importing module: ${importingModule.id}`,
message: `'${exportName}' is not exported by ${relativeId(importedModule)}, imported by ${
importingModule.id
}`,
url: `https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module`
},
importerStart!
Expand Down

0 comments on commit 9452199

Please sign in to comment.