18 lines
475 B
JavaScript
18 lines
475 B
JavaScript
/**
|
|
* PostCSS: nesting, future CSS (stage 2), and autoprefixing.
|
|
* postcss-preset-env compiles nesting (&), custom properties, and other
|
|
* stage-2 features, and runs autoprefixer from browserslist.
|
|
*/
|
|
export default {
|
|
plugins: {
|
|
'postcss-preset-env': {
|
|
stage: 2,
|
|
features: {
|
|
'nesting-rules': true,
|
|
'custom-properties': true,
|
|
},
|
|
autoprefixer: { grid: true },
|
|
},
|
|
},
|
|
};
|