Skip to content

Commit

Permalink
Fix: VSCode syntax highlight with PostCSS in Vue Component style tag (#…
Browse files Browse the repository at this point in the history
…1897)

This fixes the issue #1894. Now it compiles the CSS file containing the parsed version of the PostCSS code within Vue Components inline style tags. As well as working with the VSCode Vetur extension for the syntax highlighting.
  • Loading branch information
iFaxity authored and DeMoorJasper committed Aug 15, 2018
1 parent 02fec49 commit ab386e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/parcel-bundler/src/Parser.js
Expand Up @@ -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');
Expand Down Expand Up @@ -82,4 +83,4 @@ class Parser {
}
}

module.exports = Parser;
module.exports = Parser;

0 comments on commit ab386e7

Please sign in to comment.