Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Commit

Permalink
Clarify where resolve error comes from in dynamic import plugin. (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks committed Apr 5, 2018
1 parent fda9564 commit 4c4ae10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/babel-plugin-bare-specifiers.ts
Expand Up @@ -97,7 +97,9 @@ const maybeResolve = (
// Don't warn if the specifier was already a path, even though we do
// resolve paths, because maybe the user is serving it some other
// way.
console.warn(`Could not resolve module specifier "${specifier}"`);
console.warn(
`Could not resolve module specifier "${specifier}" ` +
`in file "${filePath}".`);
}
return specifier;
}
Expand Down

0 comments on commit 4c4ae10

Please sign in to comment.