From a735c7a41dba9d271ccaf867a461a0a4728ae46c Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Sun, 9 Jul 2023 22:58:04 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BE=9D=E8=B5=96=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cloud/bigscreen-design/postcss.config.js | 14 ++++++++++++++ cloud/bigscreen-design/vite.config.js | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 cloud/bigscreen-design/postcss.config.js diff --git a/cloud/bigscreen-design/postcss.config.js b/cloud/bigscreen-design/postcss.config.js new file mode 100644 index 0000000..e825a0c --- /dev/null +++ b/cloud/bigscreen-design/postcss.config.js @@ -0,0 +1,14 @@ +/** + * @program: kicc-ui + * @description: postcss代码解析工具配置 + * 它提供了一种方式用JavaScript代码来处理CSS,它负责把CSS代码解析成抽象语法树结构(Abstract Syntax Tree,AST)再交由插件来进行处理 + * 目前用到的插件: + * 增加代码可读性 → postcss/autoprefixer + * 官网文档: https://github.com/postcss/autoprefixer + * @author: entfrm开发团队-王翔 + * @create: 2022/4/6 + */ + +module.exports = { + plugins: {}, +}; diff --git a/cloud/bigscreen-design/vite.config.js b/cloud/bigscreen-design/vite.config.js index ac1c46d..fbf48e9 100755 --- a/cloud/bigscreen-design/vite.config.js +++ b/cloud/bigscreen-design/vite.config.js @@ -27,7 +27,7 @@ export default ({ mode, command }) => { css: { // 跟主项目的postcss.config.js起冲突,关闭后面需要使用可以在/bigscreen-design加postcss.config.js // 或者直接在这里配置,优先级 vite.config.js > postcss.config.js - postcss: {} + //postcss: {} } }) }