@@ -77,6 +77,7 @@ module.exports = class ClarkPlugin extends Plugin {
7777
7878 // https://github.com/csstools/postcss-preset-env
7979 // Adds vendor prefixes based on Can I Use and polyfills new features
80+ // Inspired by https://github.com/moxystudio/postcss-preset-moxy/blob/master/index.js
8081 require ( 'postcss-preset-env' ) ( {
8182 browsers : this . browsers ,
8283
@@ -85,10 +86,10 @@ module.exports = class ClarkPlugin extends Plugin {
8586
8687 // Disable `preserve` so that the resulting CSS is consistent among all
8788 // browsers, diminishing the probability of discovering bugs only when
88- // testing in older browsers
89+ // testing in older browsers.
8990 preserve : false ,
9091
91- // Enable features that we want, despite being proposals yet
92+ // Explicitly enable features that we want, despite being proposals yet.
9293 features : {
9394 'custom-selectors' : true ,
9495 'custom-properties' : true ,
@@ -98,8 +99,8 @@ module.exports = class ClarkPlugin extends Plugin {
9899 } ,
99100
100101 autoprefixer : {
101- // We don't use prefixes unless they are really necessary, e.g. when
102- // dealing with quirks therefore, we disable removing them.
102+ // We don't manually apply prefixes unless they are really necessary,
103+ // e.g.when dealing with quirks, therefore we disable removing them.
103104 remove : false
104105 }
105106 } )
0 commit comments