Skip to content

Commit

Permalink
more informative error in ProvideSharedPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
vankop committed May 30, 2022
1 parent 2738eeb commit e71d3b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/sharing/ProvideSharedPlugin.js
Expand Up @@ -129,8 +129,7 @@ class ProvideSharedPlugin {
details =
"No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config.";
} else if (!descriptionFileData.version) {
details =
"No version in description file (usually package.json). Add version to description file, or manually specify version in shared config.";
details = `No version in description file (usually package.json). Add version to description file ${resourceResolveData.descriptionFilePath}, or manually specify version in shared config.`;
} else {
version = descriptionFileData.version;
}
Expand Down

0 comments on commit e71d3b4

Please sign in to comment.