perf: 更新stylelint以及相关配置至最新,强化样式校验

This commit is contained in:
xiaoxian521
2023-05-04 13:28:52 +08:00
parent c47a281758
commit 7713e7fb9e
4 changed files with 2185 additions and 4790 deletions

View File

@@ -1,6 +1,7 @@
module.exports = {
plugins: {
"postcss-import": {},
"tailwindcss/nesting": {},
tailwindcss: {},
autoprefixer: {},
...(process.env.NODE_ENV === "production" ? { cssnano: {} } : {})