We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eb01a55 + 3971f0a commit e5aca89Copy full SHA for e5aca89
src/package.ts
@@ -1116,9 +1116,10 @@ class LaunchEntryPointProcessor extends BaseProcessor {
1116
1117
if (missingEntryPoints.length > 0) {
1118
const files: string = missingEntryPoints.join(',\n ');
1119
- throw new Error(
1120
- `Extension entrypoint(s) missing. Make sure these files exist and aren't ignored by '.vscodeignore':\n ${files}`
1121
- );
+ const hint = this.manifest.files && this.manifest.files.length > 0
+ ? `Make sure these files exist and are included by your "files" field in 'package.json'`
+ : `Make sure these files exist and aren't ignored by '.vscodeignore'`;
1122
+ throw new Error(`Extension entrypoint(s) missing. ${hint}:\n ${files}`);
1123
}
1124
1125
0 commit comments