{"id":15041810,"url":"https://github.com/taskrjs/fly-sass","last_synced_at":"2025-07-31T00:42:02.864Z","repository":{"id":34906742,"uuid":"38947375","full_name":"taskrjs/fly-sass","owner":"taskrjs","description":"Compile SASS with Fly","archived":false,"fork":false,"pushed_at":"2017-02-03T20:34:52.000Z","size":50,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-15T14:49:11.965Z","etag":null,"topics":[],"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/taskrjs.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":"2015-07-12T02:23:06.000Z","updated_at":"2018-10-05T02:56:45.000Z","dependencies_parsed_at":"2022-09-01T03:23:05.856Z","dependency_job_id":null,"html_url":"https://github.com/taskrjs/fly-sass","commit_stats":null,"previous_names":["kashiro/fly-sass"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/taskrjs/fly-sass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskrjs%2Ffly-sass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskrjs%2Ffly-sass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskrjs%2Ffly-sass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskrjs%2Ffly-sass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taskrjs","download_url":"https://codeload.github.com/taskrjs/fly-sass/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskrjs%2Ffly-sass/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267967720,"owners_count":24173566,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09-24T20:46:29.938Z","updated_at":"2025-07-31T00:42:02.829Z","avatar_url":"https://github.com/taskrjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fly-sass [![][travis-badge]][travis-link] [![npm package][npm-ver-link]][npm-pkg-link]\n\n\u003e Compile SASS (via [node-sass](https://github.com/sass/node-sass)) with Fly\n\n## Install\n\n```\nnpm install --save-dev fly-sass\n```\n\n## Usage\n\nThe globs within `source()` should always point to individual files. \n\n#### Basic\n\n```js\nexports.styles = function * (fly) {\n  yield fly.source('src/styles/style.scss').sass().target('dist')\n}\n```\n\n#### Multiple Bundles\n\nSimply create an array of individual file paths.\n\n```js\nexports.styles = function * (fly) {\n  yield fly.source([\n    'src/styles/client.scss',\n    'src/styles/admin.scss'\n  ]).sass().target('dist')\n}\n```\n\n#### SASS vs SCSS\n\nThere is no need to set [`indentedSyntax`](https://github.com/sass/node-sass#indentedsyntax) -- the SASS parser will intelligently decipher if you are using the SASS syntax.\n\n```js\nexports.styles = function * (fly) {\n  yield fly.source([\n    'src/styles/client.sass', // SASS\n    'src/styles/admin.scss' // SCSS\n  ]).sass().target('dist')\n}\n```\n\n#### Sourcemaps\n\nYou may create source maps for your bundles. Simply provide the desired file path as `outFile` or `sourceMap`.\n\n\u003e **Important:** It is _recommended_ that you provide `sourceMap` your desired path. However, if `sourceMap` is a `true`, you **must** then provide `outFile` your file path string.\n\n```js\nexports.styles = function * (fly) {\n  yield fly.source('src/app.sass')\n    .sass({sourceMap: 'dist/css/app.css.map'})\n    .target('dist');\n}\n\n// OR\n\nexports.styles = function * (fly) {\n  yield fly.source('src/app.sass')\n    .sass({sourceMap: true, outFile: 'dist/css/app.css.map'})\n    .target('dist');\n}\n```\n\n## API\n\n### .sass(options)\n\nThis plugin does not have any custom options. Please visit [`node-sass` options](https://github.com/sass/node-sass#options) for a full list of available options.\n\n\u003e **Note:** You will _not_ be able to set the `file` or `data` options. These are done for you \u0026 cannot be changed.\n\n## License\n\nMIT © Fly\n\n\u003e A big thanks to [Tomoyuki Kashiro](http://tomoyukikashiro.me) for donating the plugin to Fly!\n\n[npm-pkg-link]: https://www.npmjs.org/package/fly-sass\n[npm-ver-link]: https://img.shields.io/npm/v/fly-sass.svg?style=flat-square\n[travis-link]:  https://travis-ci.org/flyjs/fly-sass\n[travis-badge]: http://img.shields.io/travis/flyjs/fly-sass.svg?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaskrjs%2Ffly-sass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaskrjs%2Ffly-sass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaskrjs%2Ffly-sass/lists"}