diff --git a/package.json b/package.json index dec08db..fc9b6e8 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "onLanguage:groovy", "onLanguage:java", "onLanguage:javascript", + "onLanguage:javascriptreact", "onLanguage:less", "onLanguage:lua", "onLanguage:objective-c", @@ -58,7 +59,7 @@ "color": "#e3f4ff", "theme": "light" }, - "main": "./out/src/extension", + "main": "./out/extension", "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", diff --git a/src/parser.ts b/src/parser.ts index e91a6af..d3da1a8 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -142,6 +142,7 @@ export class Parser { case "go": case "java": case "javascript": + case "javascriptreact": case "less": case "php": case "rust":