{"id":19635589,"url":"https://github.com/2createstudio/gulp-css-snippets","last_synced_at":"2025-02-26T21:42:06.747Z","repository":{"id":57257237,"uuid":"74587995","full_name":"2createStudio/gulp-css-snippets","owner":"2createStudio","description":"Gulp module for CSS snippets require from remote server","archived":false,"fork":false,"pushed_at":"2016-12-14T08:42:09.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-09T19:02:47.239Z","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/2createStudio.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-11-23T15:11:09.000Z","updated_at":"2016-11-23T15:24:43.000Z","dependencies_parsed_at":"2022-09-08T09:40:39.738Z","dependency_job_id":null,"html_url":"https://github.com/2createStudio/gulp-css-snippets","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/2createStudio%2Fgulp-css-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2createStudio%2Fgulp-css-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2createStudio%2Fgulp-css-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2createStudio%2Fgulp-css-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2createStudio","download_url":"https://codeload.github.com/2createStudio/gulp-css-snippets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240941484,"owners_count":19882062,"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-11T12:25:58.198Z","updated_at":"2025-02-26T21:42:06.727Z","avatar_url":"https://github.com/2createStudio.png","language":"JavaScript","readme":"# Gulp CSS Snippets\n\nGulp module for CSS snippets require from remote server.\n\n\n## Usage\nIn your `gulpfile.js`:\n```\nvar cssSnippets = require('gulp-css-snippets');\n\ngulp.src('./css/snippet-require.css')\n\t.pipe(cssSnippets({\n\t    fileName: 'snippet-components.css',\n\t    base: 'https://rawgit.com/2createStudio/postcss-require-lib/master/snippets/'\n\t}))\n\t.pipe(gulp.dest('./css'));\n```\n\nThe require file (`snippet-require.css`) should use this syntax:\n```\nimport('snippetFoo');\nimport('snippetBar');\n```\n\nThe structure on the remote server should look like this:\n\n```\nmainDir\n+-- snippetFoo\n|   +-- main.css\n|   +-- README.md\n+-- snippetBar\n|   +-- main.css\n|   +-- README.md\n```\n\nThe content of `snippetFoo/main.css` will be the contactenated content of the snippet `main.css` files.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2createstudio%2Fgulp-css-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2createstudio%2Fgulp-css-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2createstudio%2Fgulp-css-snippets/lists"}