{"id":15044842,"url":"https://github.com/konclave/gulp-swc","last_synced_at":"2026-02-10T09:37:11.144Z","repository":{"id":56320139,"uuid":"310072839","full_name":"konclave/gulp-swc","owner":"konclave","description":"Gulp plugin that allows to use swc javascript / typescript compiler in a gulp pipeline.","archived":false,"fork":false,"pushed_at":"2024-04-25T12:24:04.000Z","size":179,"stargazers_count":16,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-25T12:25:15.688Z","etag":null,"topics":["gulp","gulp-plugin","swc"],"latest_commit_sha":null,"homepage":"","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/konclave.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":"2020-11-04T17:32:49.000Z","updated_at":"2024-06-18T18:44:08.153Z","dependencies_parsed_at":"2024-04-06T20:23:32.771Z","dependency_job_id":"c4e28bd8-d3ab-4ce6-b22d-49d9f35d8d93","html_url":"https://github.com/konclave/gulp-swc","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":0.05555555555555558,"last_synced_commit":"e377f76521b7021ad067c4e5dfd30793a44bde64"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konclave%2Fgulp-swc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konclave%2Fgulp-swc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konclave%2Fgulp-swc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konclave%2Fgulp-swc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konclave","download_url":"https://codeload.github.com/konclave/gulp-swc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237982333,"owners_count":19397246,"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":["gulp","gulp-plugin","swc"],"created_at":"2024-09-24T20:51:07.460Z","updated_at":"2026-02-10T09:37:08.482Z","avatar_url":"https://github.com/konclave.png","language":"JavaScript","readme":"# gulp-swc\n\n[Gulp](https://gulpjs.com/) plugin that allows to use [swc](https://swc.rs/) javascript / typescript compiler in a gulp pipeline.\n\n## Install plugin and peer dependencies\n\n```\nnpm install gulp-swc @swc/core gulp --save-dev\n```\n\nor\n\n```\nyarn add gulp-swc @swc/core gulp --dev\n```\n\n## Usage\n\nIn your gulpfile.js:\n\n```javascript\nconst gulp = require('gulp');\nconst swc = require('gulp-swc');\n\n// Any options to configure swc: https://swc.rs/docs/configuring-swc\nconst swcOptions = {\n  jsc: {\n    target: 'es5',\n  },\n};\n\ngulp.task('build', () =\u003e\n  gulp.src('./app.js').pipe(swc(swcOptions)).pipe(gulp.dest('dist')),\n);\n```\n\n### Include sourcemaps\n\n```javascript\nconst gulp = require('gulp');\nconst swc = require('gulp-swc');\nconst sourcemaps = require('gulp-sourcemaps');\nconst concat = require('gulp-concat');\n\nconst swcOptions = {\n  jsc: {\n    target: 'es5',\n  },\n  sourceMaps: true,\n};\n\ngulp.task('build', () =\u003e\n  gulp\n    .src('./app/**/*.js')\n    .pipe(sourcemaps.init())\n    .pipe(swc(swcOptions))\n    .pipe(concat('app.js'))\n    .pipe(sourcemaps.write('.'))\n    .pipe(gulp.dest('dist')),\n);\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonclave%2Fgulp-swc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonclave%2Fgulp-swc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonclave%2Fgulp-swc/lists"}