From 2e98b20bea4463e4465e3c19059d0744a09aec06 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Tue, 27 Jun 2023 14:34:41 +0800
Subject: [PATCH] gb28181版本升级-补充

---
 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