Skip to content

Commit e71d3b4

Browse files
committed
more informative error in ProvideSharedPlugin
1 parent 2738eeb commit e71d3b4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/sharing/ProvideSharedPlugin.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,7 @@ class ProvideSharedPlugin {
129129
details =
130130
"No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config.";
131131
} else if (!descriptionFileData.version) {
132-
details =
133-
"No version in description file (usually package.json). Add version to description file, or manually specify version in shared config.";
132+
details = `No version in description file (usually package.json). Add version to description file ${resourceResolveData.descriptionFilePath}, or manually specify version in shared config.`;
134133
} else {
135134
version = descriptionFileData.version;
136135
}

0 commit comments

Comments
 (0)