Skip to content

Commit 504f63d

Browse files
authored
fix: use postcss-scss as parser
...instead of `syntax`. This way comments actually get properly detected and transformed to `/* comment */`.
1 parent 7e159f9 commit 504f63d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/clark-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ module.exports = class ClarkPlugin extends Plugin {
117117
postcssOptions: {
118118
// https://github.com/postcss/postcss-scss
119119
// This allows you to use inline comments, like this one here.
120-
syntax: require('postcss-scss')
120+
parser: require('postcss-scss')
121121
}
122122
};
123123
}

0 commit comments

Comments
 (0)