1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-23 14:46:52 +09:00

Change PostCSS config to allow logical properties (#31264)

This commit is contained in:
Renaud Chaput 2024-08-02 15:17:36 +02:00 committed by GitHub
parent bb3941f885
commit 99c446b7cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 5 deletions

View File

@ -50,7 +50,6 @@
"@svgr/webpack": "^5.5.0",
"arrow-key-navigation": "^1.2.0",
"async-mutex": "^0.5.0",
"autoprefixer": "^10.4.14",
"axios": "^1.4.0",
"babel-loader": "^8.3.0",
"babel-plugin-formatjs": "^10.5.1",

View File

@ -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') : '',
],
});

View File

@ -2825,7 +2825,6 @@ __metadata:
"@typescript-eslint/parser": "npm:^7.0.0"
arrow-key-navigation: "npm:^1.2.0"
async-mutex: "npm:^0.5.0"
autoprefixer: "npm:^10.4.14"
axios: "npm:^1.4.0"
babel-jest: "npm:^29.5.0"
babel-loader: "npm:^8.3.0"
@ -5118,7 +5117,7 @@ __metadata:
languageName: node
linkType: hard
"autoprefixer@npm:^10.4.14, autoprefixer@npm:^10.4.19":
"autoprefixer@npm:^10.4.19":
version: 10.4.19
resolution: "autoprefixer@npm:10.4.19"
dependencies: