From a8c9628c5aec3360d23f5fa9543f60894baf6e53 Mon Sep 17 00:00:00 2001 From: willstocks <43744514+willstocks@users.noreply.github.com> Date: Mon, 9 Aug 2021 08:50:19 +0100 Subject: [PATCH] Change activationEvents to stop eager/unnecessary load Adjustment to the `activationEvents` from `*` to specifically looking for `scss` or `sass` --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b54e8a3..755fd4a 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,9 @@ "Other" ], "activationEvents": [ - "*" + "workspaceContains:**/*.s[ac]ss", + "onLanguage:scss", + "onLanguage:sass" ], "contributes": { "commands": [