@vscode/vsce 3.5.1-2 → 3.5.1-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/package.js +4 -1
- package/package.json +1 -1
package/out/package.js
CHANGED
|
@@ -773,7 +773,10 @@ class LaunchEntryPointProcessor extends BaseProcessor {
|
|
|
773
773
|
}
|
|
774
774
|
if (missingEntryPoints.length > 0) {
|
|
775
775
|
const files = missingEntryPoints.join(',\n ');
|
|
776
|
-
|
|
776
|
+
const hint = this.manifest.files && this.manifest.files.length > 0
|
|
777
|
+
? `Make sure these files exist and are included by your "files" field in 'package.json'`
|
|
778
|
+
: `Make sure these files exist and aren't ignored by '.vscodeignore'`;
|
|
779
|
+
throw new Error(`Extension entrypoint(s) missing. ${hint}:\n ${files}`);
|
|
777
780
|
}
|
|
778
781
|
}
|
|
779
782
|
}
|