From bf4c42953e1f47006a4ef31f8381fe0825f81014 Mon Sep 17 00:00:00 2001 From: ifaxity Date: Wed, 15 Aug 2018 23:40:29 +0200 Subject: [PATCH] Fix: VSCode syntax highlight with PostCSS in Vue Component style tag --- src/Parser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Parser.js b/src/Parser.js index db1305edbe3..013aecf600b 100644 --- a/src/Parser.js +++ b/src/Parser.js @@ -28,6 +28,7 @@ class Parser { this.registerExtension('css', './assets/CSSAsset'); this.registerExtension('pcss', './assets/CSSAsset'); + this.registerExtension('postcss', './assets/CSSAsset'); this.registerExtension('styl', './assets/StylusAsset'); this.registerExtension('stylus', './assets/StylusAsset'); this.registerExtension('less', './assets/LESSAsset'); @@ -82,4 +83,4 @@ class Parser { } } -module.exports = Parser; +module.exports = Parser; \ No newline at end of file