Skip to content

Commit 023c41b

Browse files
authored
Merge pull request #600 from microsoft/sandy081/fix599
tag extension packs as web extensions
2 parents 7efd3a2 + 8885748 commit 023c41b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/package.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -868,9 +868,9 @@ function deduceExtensionKinds(manifest: Manifest): ExtensionKind[] {
868868
let result: ExtensionKind[] = ['ui', 'workspace', 'web'];
869869

870870
const isNonEmptyArray = obj => Array.isArray(obj) && obj.length > 0;
871-
// Extension pack defaults to workspace extensionKind
871+
// Extension pack defaults to workspace,web extensionKind
872872
if (isNonEmptyArray(manifest.extensionPack) || isNonEmptyArray(manifest.extensionDependencies)) {
873-
result = ['workspace'];
873+
result = ['workspace', 'web'];
874874
}
875875

876876
if (manifest.contributes) {

0 commit comments

Comments
 (0)