1 Star 1 Fork 0

码上致富/mszf-im

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
postcss.config.js 690 Bytes
一键复制 编辑 原始数据 按行查看 历史
码上致富 提交于 2022-09-29 09:04 . 首次提交
// Error: ENOENT: no such file or directory, open 'D:\HBuilderX\plugins\uniapp-cli\tailwind.config.js'
const path = require("path");
const {
WeappTailwindcssDisabled
} = require("./platform");
module.exports = {
plugins: [
require("autoprefixer")({
remove: process.env.UNI_PLATFORM !== "h5",
}),
require("tailwindcss")({
config: path.resolve(__dirname, "./tailwind.config.js"),
}),
// rem 转 rpx
WeappTailwindcssDisabled ?
undefined :
require("postcss-rem-to-responsive-pixel/postcss7")({
rootValue: 32,
propList: ["*"],
transformUnit: "rpx",
}),
WeappTailwindcssDisabled ? require('@dcloudio/vue-cli-plugin-uni/packages/postcss') : undefined
],
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/mashangzhifu/mszf-im.git
git@gitee.com:mashangzhifu/mszf-im.git
mashangzhifu
mszf-im
mszf-im
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385