Skip to content

Commit 44dff1f

Browse files
committed
perf: activate extension only when package.json or pnpm-workspace.yaml exists
1 parent f95cc0b commit 44dff1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"vscode": "^1.101.0"
3838
},
3939
"activationEvents": [
40-
"onStartupFinished"
40+
"workspaceContains:package.json",
41+
"workspaceContains:pnpm-workspace.yaml"
4142
],
4243
"contributes": {
4344
"configuration": {

0 commit comments

Comments
 (0)