{"id":13789250,"url":"https://github.com/yingye/wepy-plugin-px2units","last_synced_at":"2025-04-12T17:34:19.122Z","repository":{"id":48033775,"uuid":"129061478","full_name":"yingye/wepy-plugin-px2units","owner":"yingye","description":"A wepy plugin for that generates rpx units from pixel units, it also can generate units which you want.","archived":false,"fork":false,"pushed_at":"2022-12-02T03:05:24.000Z","size":165,"stargazers_count":31,"open_issues_count":6,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-20T14:16:25.425Z","etag":null,"topics":["postcss","px2rpx","px2units","wepy","wepy-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yingye.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-11T08:33:27.000Z","updated_at":"2023-09-08T19:18:03.000Z","dependencies_parsed_at":"2023-01-23T06:00:36.142Z","dependency_job_id":null,"html_url":"https://github.com/yingye/wepy-plugin-px2units","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingye%2Fwepy-plugin-px2units","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingye%2Fwepy-plugin-px2units/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingye%2Fwepy-plugin-px2units/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yingye%2Fwepy-plugin-px2units/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yingye","download_url":"https://codeload.github.com/yingye/wepy-plugin-px2units/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248605496,"owners_count":21132181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["postcss","px2rpx","px2units","wepy","wepy-plugin"],"created_at":"2024-08-03T21:01:00.619Z","updated_at":"2025-04-12T17:34:19.098Z","avatar_url":"https://github.com/yingye.png","language":"JavaScript","funding_links":[],"categories":["微信小程序WePY框架开发资源汇总 ![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)"],"sub_categories":["WePY相关工具"],"readme":"# wepy框架px2units插件\n\n[![npm version](https://badge.fury.io/js/wepy-plugin-px2units.svg)](https://badge.fury.io/js/wepy-plugin-px2units)\n[![change-log](https://img.shields.io/badge/changelog-md-blue.svg)](https://github.com/yingye/wepy-plugin-px2units/blob/master/CHANGELOG.md)\n\n本插件不支持 wepy 2.x 版本，新的版本已经支持 postcss 插件了，文档地址：[compiler-postcss](https://wepyjs.github.io/wepy-docs/2.x/#/plugin/official?id=compiler-postcss)，推荐使用：[postcss-px2units](https://github.com/yingye/postcss-px2units) 。\n\n## 安装\n\n```\nnpm install wepy-plugin-px2units --save-dev\n```\n\n## 配置`wepy.config.js`\n\n```js\nmodule.exports.plugins = {\n  'px2units': {\n    filter: /\\.wxss$/\n    // 忽略 abc.wxss 文件示例\n    // filter: /(?\u003c!\\/abc)\\.wxss$/i\n  },\n};\n```\n\n## 参数说明 \n\n[postcss-px2units](https://github.com/yingye/postcss-px2units)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyingye%2Fwepy-plugin-px2units","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyingye%2Fwepy-plugin-px2units","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyingye%2Fwepy-plugin-px2units/lists"}