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: {} } }) }