From f1d079f9c0b3d384090477ca54e0548373d62b57 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Thu, 16 Jan 2025 11:56:39 +0800
Subject: [PATCH] 配置修改

---
 web_src/.postcssrc.js |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/web_src/.postcssrc.js b/web_src/.postcssrc.js
new file mode 100644
index 0000000..f8737a1
--- /dev/null
+++ b/web_src/.postcssrc.js
@@ -0,0 +1,14 @@
+// https://github.com/michael-ciniawsky/postcss-load-config
+
+module.exports = {
+  "plugins": {
+    "postcss-import": {},
+    "postcss-url": {},
+    // to edit target browsers: use "browserslist" field in package.json
+    "autoprefixer": {},
+    'postcss-pxtorem': {
+      rootValue: 16,
+      propList: ['font-size'] // 只转化font-size
+    }
+  }
+}

--
Gitblit v1.9.3