Skip to content

Commit 27f740a

Browse files
committed
chore(dependencies): update yarn.lock with new CSS tools dependency versions
1 parent 943340b commit 27f740a

File tree

5 files changed

+712
-20
lines changed

5 files changed

+712
-20
lines changed

.browserslistrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
>0.3%
2+
not dead
3+
not op_mini all
4+
last 3 version
5+
Chrome >= 51
6+
Edge >= 15
7+
Safari >= 10
8+
Firefox >= 54
9+
Opera >= 38
10+
iOS >= 14
11+
Android >= 5
12+
not IE <= 11

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"@typescript-eslint/eslint-plugin": "^8.23.0",
7070
"@typescript-eslint/parser": "^8.23.0",
7171
"@vitejs/plugin-react-swc": "3.8.1",
72+
"autoprefixer": "^10.4.21",
7273
"cz-conventional-changelog": "3.3.0",
7374
"cz-customizable": "6.6.0",
7475
"eslint": "^9.19.0",
@@ -79,6 +80,8 @@
7980
"jest-environment-jsdom": "^29.5.0",
8081
"jest-styled-components": "7.2.0",
8182
"npm-run-all": "4.1.5",
83+
"postcss": "^8.5.6",
84+
"postcss-preset-env": "^10.2.4",
8285
"react": "^19.1.0",
8386
"react-dom": "^19.1.0",
8487
"rollup-plugin-visualizer": "5.9.0",

postcss.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import postcssPresetEnv from "postcss-preset-env";
2+
3+
export default {
4+
plugins: [postcssPresetEnv({
5+
autoprefixer: {
6+
grid: true,
7+
flexbox: true,
8+
}
9+
})]
10+
};

src/styles.scss

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -310,22 +310,6 @@ $directions: (
310310
}
311311
}
312312

313-
// 自动流样式
314-
.grid-auto-flow {
315-
grid-auto-flow: row !important;
316-
317-
&.grid-auto-flow-col {
318-
grid-auto-flow: column !important;
319-
}
320-
321-
&.grid-auto-flow-dense {
322-
grid-auto-flow: row dense !important;
323-
}
324-
325-
&.grid-auto-flow-col-dense {
326-
grid-auto-flow: column dense !important;
327-
}
328-
}
329313

330314
// Flex 样式
331315
@each $direction in (row, column, row-reverse, column-reverse) {

0 commit comments

Comments
 (0)