chore: 优化postcss配置
- 移除autoprefixer的浏览器版本覆盖,使用package.json来定义, - browerserlist定义对齐vite的构建目标 https://vite.dev/config/build-options.html#build-target - atRule中charset已经限定配置charset,判断多余 - 顺手删了~路径别名,此项未使用,且tsconfig也没配置
This commit is contained in:
@ -84,5 +84,11 @@
|
||||
"engines": {
|
||||
"node": ">=18.18.0",
|
||||
"npm": ">=8.9.0"
|
||||
}
|
||||
},
|
||||
"browserslist": [
|
||||
"Chrome >= 87",
|
||||
"Edge >= 88",
|
||||
"Safari >= 14",
|
||||
"Firefox >= 78"
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user