diff --git a/cloud/bigscreen-design/postcss.config.js b/cloud/bigscreen-design/postcss.config.js deleted file mode 100644 index e825a0c..0000000 --- a/cloud/bigscreen-design/postcss.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @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 fbf48e9..fcb4247 100755 --- a/cloud/bigscreen-design/vite.config.js +++ b/cloud/bigscreen-design/vite.config.js @@ -25,9 +25,9 @@ export default ({ mode, command }) => { outDir: OUTPUT_DIR }, css: { - // 跟主项目的postcss.config.js起冲突,关闭后面需要使用可以在/bigscreen-design加postcss.config.js + // 跟主项目的postcss.config.js起冲突,关闭后面需要使用可以在bigscreen-design项目下加postcss.config.js // 或者直接在这里配置,优先级 vite.config.js > postcss.config.js - //postcss: {} + postcss: {} } }) }