Skip to content

Commit

Permalink
fix: use postcss-scss as parser
Browse files Browse the repository at this point in the history
...instead of `syntax`.

This way comments actually get properly detected and transformed to `/* comment */`.
  • Loading branch information
buschtoens authored Apr 10, 2019
1 parent 7e159f9 commit 504f63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/clark-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ module.exports = class ClarkPlugin extends Plugin {
postcssOptions: {
// https://github.com/postcss/postcss-scss
// This allows you to use inline comments, like this one here.
syntax: require('postcss-scss')
parser: require('postcss-scss')
}
};
}
Expand Down

0 comments on commit 504f63d

Please sign in to comment.