added note about vscodeignore to bundle reminder

This commit is contained in:
Adam Watters 2019-05-17 14:25:20 -04:00
parent d4c270274f
commit be6d2fe835

View file

@ -847,7 +847,7 @@ export async function pack(options: IPackageOptions = {}): Promise<IPackageResul
const files = await collect(manifest, options);
if (files.length > 100) {
console.log(`This extension consists of ${files.length} separate files. For performance reasons, you should bundle your extension: https://aka.ms/vscode-bundle-extension`);
console.log(`This extension consists of ${files.length} separate files. For performance reasons, you should bundle your extension: https://aka.ms/vscode-bundle-extension. You should also exclude unnecessary files by adding them to your .vscodeignore: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#.vscodeignore`);
}
const packagePath = await writeVsix(files, path.resolve(options.packagePath || defaultPackagePath(cwd, manifest)));