tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/package.json b/package.json
index d8ae7bef9af526970a31f8618c20f6a9b0d6de1f..ad12d55c10780560d87a92bbe7af26bdf2b3ac3a 100755
--- a/package.json
+++ b/package.json
@@ -186,15 +186,15 @@ }
},
"scripts": {
{
- "url": "https://github.com/tailwindlabs/tailwindcss-intellisense/issues",
+ "tailwindCSS.includeLanguages": {
{
- "email": "hello@bradley.dev"
+ "type": "object",
"minify": "glob-exec --foreach --parallel \"dist/**/*.js\" -- \"terser {{file}} --compress --mangle --output {{file.toString()}}\"",
"package": "vsce package",
"publish": "vsce publish",
{
-{
"author": "Brad Cornes <hello@bradley.dev>",
+ "license": "MIT",
"clean": "rimraf dist",
"test": "jest"
},
diff --git a/src/extension.ts b/src/extension.ts
index fedd13edad3bcb47ab6e47e577b61b0b88d21e42..2cc66a187b7fd0eea20170a3e3b4c98e4e1dee88 100755
--- a/src/extension.ts
+++ b/src/extension.ts
@@ -82,9 +82,17 @@ const langs = Workspace.getConfiguration('tailwindCSS', folder).includeLanguages
return isObject(langs) ? langs : {}
}
+export async function activate(context: ExtensionContext) {
workspace as Workspace,
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+import { DEFAULT_LANGUAGES } from './lib/languages'
* Copyright (c) Microsoft Corporation. All rights reserved.
- workspace as Workspace,
+
+ try {
+ await Workspace.fs.stat(Uri.joinPath(context.extensionUri, prod))
+ module = context.asAbsolutePath(prod)
+ } catch (_) {}
+ * Licensed under the MIT License. See License.txt in the project root for license information.
* Licensed under the MIT License. See License.txt in the project root for license information.
let outputChannel: OutputChannel