{"id":16494869,"url":"https://github.com/stipsan/gulp-purge-sourcemaps","last_synced_at":"2025-06-26T00:04:51.806Z","repository":{"id":56057402,"uuid":"45910560","full_name":"stipsan/gulp-purge-sourcemaps","owner":"stipsan","description":"Cleans up after gulp-sourcemaps have done a sourcemaps.write() allowing you to combine streams that generate both dev assets with sourcemaps and minified production assets.","archived":false,"fork":false,"pushed_at":"2023-12-15T02:25:45.000Z","size":3,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T16:16:46.328Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stipsan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-10T12:30:43.000Z","updated_at":"2018-10-30T20:40:48.000Z","dependencies_parsed_at":"2024-06-21T19:19:36.334Z","dependency_job_id":"7781af16-4ac5-4769-a97c-86c09278f2ae","html_url":"https://github.com/stipsan/gulp-purge-sourcemaps","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"393549bc51cc006ba22e8a8887af908258e6a461"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stipsan/gulp-purge-sourcemaps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stipsan%2Fgulp-purge-sourcemaps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stipsan%2Fgulp-purge-sourcemaps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stipsan%2Fgulp-purge-sourcemaps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stipsan%2Fgulp-purge-sourcemaps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stipsan","download_url":"https://codeload.github.com/stipsan/gulp-purge-sourcemaps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stipsan%2Fgulp-purge-sourcemaps/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261973724,"owners_count":23238586,"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-10-11T14:16:03.312Z","updated_at":"2025-06-26T00:04:51.776Z","avatar_url":"https://github.com/stipsan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [gulp](http://gulpjs.com)-purge-sourcemaps\n\u003e Cleans up after gulp-sourcemaps have done a sourcemaps.write() allowing you to combine streams that generate both dev assets with sourcemaps and minified production assets.\n\n[![NPM](https://nodei.co/npm/gulp-purge-sourcemaps.png?downloads=true)](https://www.npmjs.com/package/gulp-purge-sourcemaps)\n[![NPM](https://nodei.co/npm-dl/gulp-purge-sourcemaps.png?months=3\u0026height=2)](https://nodei.co/npm/gulp-purge-sourcemaps/)\n\n## Install\n\n```\nnpm install --save-dev gulp-purge-sourcemaps\n```\n\n## Example\n\n```js\nvar gulp = require('gulp');\nvar sass = require('gulp-sass');\nvar rename = require('gulp-rename');\nvar minifyCSS = require('gulp-minify-css');\nvar sourcemaps = require('gulp-sourcemaps');\nvar purgeSourcemaps = require('gulp-purge-sourcemaps');\n\ngulp.task('default', function () {\n  gulp.src('app.scss')\n    .pipe(sourcemaps.init())\n    .pipe(sass())\n    .pipe(sourcemaps.write())\n    .pipe(gulp.dest('dist'))\n    .pipe(purgeSourcemaps(/* sourcemaps.write() has been called, minifyCSS should not be fooled into thinking it's not generated yet */))\n    .pipe(minifyCSS({keepSpecialComments:0, processImport: false}))\n    .pipe(rename({suffix: '.min'}))\n    .pipe(gulp.dest('dist'));\n});\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstipsan%2Fgulp-purge-sourcemaps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstipsan%2Fgulp-purge-sourcemaps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstipsan%2Fgulp-purge-sourcemaps/lists"}