mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 05:08:07 +01:00
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
|
@ -50,7 +50,6 @@
|
||||||
"@svgr/webpack": "^5.5.0",
|
"@svgr/webpack": "^5.5.0",
|
||||||
"arrow-key-navigation": "^1.2.0",
|
"arrow-key-navigation": "^1.2.0",
|
||||||
"async-mutex": "^0.5.0",
|
"async-mutex": "^0.5.0",
|
||||||
"autoprefixer": "^10.4.14",
|
|
||||||
"axios": "^1.4.0",
|
"axios": "^1.4.0",
|
||||||
"babel-loader": "^8.3.0",
|
"babel-loader": "^8.3.0",
|
||||||
"babel-plugin-formatjs": "^10.5.1",
|
"babel-plugin-formatjs": "^10.5.1",
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
|
const postcssPresetEnv = require('postcss-preset-env');
|
||||||
|
|
||||||
/** @type {import('postcss-load-config').Config} */
|
/** @type {import('postcss-load-config').Config} */
|
||||||
const config = ({ env }) => ({
|
const config = ({ env }) => ({
|
||||||
plugins: [
|
plugins: [
|
||||||
require('postcss-preset-env'),
|
postcssPresetEnv({
|
||||||
require('autoprefixer'),
|
features: {
|
||||||
|
'logical-properties-and-values': false
|
||||||
|
}
|
||||||
|
}),
|
||||||
env === 'production' ? require('cssnano') : '',
|
env === 'production' ? require('cssnano') : '',
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
|
@ -2825,7 +2825,6 @@ __metadata:
|
||||||
"@typescript-eslint/parser": "npm:^7.0.0"
|
"@typescript-eslint/parser": "npm:^7.0.0"
|
||||||
arrow-key-navigation: "npm:^1.2.0"
|
arrow-key-navigation: "npm:^1.2.0"
|
||||||
async-mutex: "npm:^0.5.0"
|
async-mutex: "npm:^0.5.0"
|
||||||
autoprefixer: "npm:^10.4.14"
|
|
||||||
axios: "npm:^1.4.0"
|
axios: "npm:^1.4.0"
|
||||||
babel-jest: "npm:^29.5.0"
|
babel-jest: "npm:^29.5.0"
|
||||||
babel-loader: "npm:^8.3.0"
|
babel-loader: "npm:^8.3.0"
|
||||||
|
@ -5118,7 +5117,7 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"autoprefixer@npm:^10.4.14, autoprefixer@npm:^10.4.19":
|
"autoprefixer@npm:^10.4.19":
|
||||||
version: 10.4.19
|
version: 10.4.19
|
||||||
resolution: "autoprefixer@npm:10.4.19"
|
resolution: "autoprefixer@npm:10.4.19"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in a new issue