Change PostCSS config to allow logical properties (#31264)
This commit is contained in:
parent
bb3941f885
commit
99c446b7cf
3 changed files with 8 additions and 5 deletions
|
@ -1,8 +1,13 @@
|
|||
const postcssPresetEnv = require('postcss-preset-env');
|
||||
|
||||
/** @type {import('postcss-load-config').Config} */
|
||||
const config = ({ env }) => ({
|
||||
plugins: [
|
||||
require('postcss-preset-env'),
|
||||
require('autoprefixer'),
|
||||
postcssPresetEnv({
|
||||
features: {
|
||||
'logical-properties-and-values': false
|
||||
}
|
||||
}),
|
||||
env === 'production' ? require('cssnano') : '',
|
||||
],
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue