Attempt at disabling postcss-next warnings (#11518)

This commit is contained in:
rhymes 2020-11-20 14:19:32 +01:00 committed by GitHub
parent cd94fb2362
commit 90c12aa824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 4 deletions

18
postcss.config.js Normal file
View file

@ -0,0 +1,18 @@
/* globals module, require */
module.exports = {
plugins: [
require('postcss-import'),
require('postcss-flexbugs-fixes'),
require('postcss-preset-env')({
autoprefixer: {
flexbox: 'no-2009',
},
stage: 3,
features: {
customProperties: {
warnings: false,
},
},
}),
],
};

View file

@ -1,4 +0,0 @@
/* globals module, require */
module.exports = {
plugins: [require('autoprefixer')],
};