{"id":20139214,"url":"https://github.com/lpreterite/fis3-preprocessor-autoprefixer","last_synced_at":"2025-04-09T18:22:14.545Z","repository":{"id":57237352,"uuid":"70310796","full_name":"lpreterite/fis3-preprocessor-autoprefixer","owner":"lpreterite","description":"使用postcss/autoprefixer于fis3构建工具的预处理器插件","archived":false,"fork":false,"pushed_at":"2017-01-11T04:13:28.000Z","size":2,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T20:22:27.725Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/lpreterite.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2016-10-08T06:54:21.000Z","updated_at":"2017-12-22T08:53:56.000Z","dependencies_parsed_at":"2022-08-26T15:10:31.964Z","dependency_job_id":null,"html_url":"https://github.com/lpreterite/fis3-preprocessor-autoprefixer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpreterite%2Ffis3-preprocessor-autoprefixer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpreterite%2Ffis3-preprocessor-autoprefixer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpreterite%2Ffis3-preprocessor-autoprefixer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpreterite%2Ffis3-preprocessor-autoprefixer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lpreterite","download_url":"https://codeload.github.com/lpreterite/fis3-preprocessor-autoprefixer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248085690,"owners_count":21045195,"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":[],"created_at":"2024-11-13T21:44:26.491Z","updated_at":"2025-04-09T18:22:14.519Z","avatar_url":"https://github.com/lpreterite.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 本项目不再维护，建议使用[fis3-postprocessor-autoprefixer](https://github.com/huixisheng/fis3-postprocessor-autoprefixer)\n\n# fis3-preprocessor-autoprefixer\n使用[postcss/autoprefixer](https://github.com/postcss/autoprefixer)于fis3构建工具的预处理器插件\n\n##安装\n\n`npm install [-g] fis3-preprocessor-autoprefixer`\n\n##使用\n\n\n```\nfis.match('**.scss',{\n    rExt: '.css', // from .scss to .css\n    preprocessor : fis.plugin(\"autoprefixer\",{\n        \"browsers\": [\"last 2 versions\"]\n    }),\n    //其他预处理\n    parser: fis.plugin('node-sass', {\n        //fis-parser-sass option\n        //if you want to use outputStyle option, you must install fis-parser-sass2 !\n        outputStyle: 'expanded'\n    })\n})\n```\n\n\u003e 关于browsers如何设置请参考[browserslist](https://github.com/ai/browserslist#queries)\n\n##出现的原因\n\n在百度找了一下相关插件是有的，但是用着发现使用的autoprefixer库都是旧的（且作者都没维护）导致使用时兼容不够全面，所以特意另开一个插件。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpreterite%2Ffis3-preprocessor-autoprefixer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flpreterite%2Ffis3-preprocessor-autoprefixer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpreterite%2Ffis3-preprocessor-autoprefixer/lists"}