{"id":19970204,"url":"https://github.com/webdeveric/esbuild-plugin-modify-entrypoints","last_synced_at":"2025-09-14T18:49:05.704Z","repository":{"id":156664429,"uuid":"633099202","full_name":"webdeveric/esbuild-plugin-modify-entrypoints","owner":"webdeveric","description":"esbuild plugin to modify the contents of your entrypoints","archived":false,"fork":false,"pushed_at":"2024-05-13T00:03:18.000Z","size":275,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-29T12:10:29.591Z","etag":null,"topics":["esbuild-plugin","plugin"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/esbuild-plugin-modify-entrypoints","language":"TypeScript","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/webdeveric.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["webdeveric"]}},"created_at":"2023-04-26T19:24:33.000Z","updated_at":"2024-05-13T00:03:21.000Z","dependencies_parsed_at":"2023-11-19T23:24:51.785Z","dependency_job_id":"b116ec4a-fa09-466a-8a5d-1798bd9126ca","html_url":"https://github.com/webdeveric/esbuild-plugin-modify-entrypoints","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/webdeveric/esbuild-plugin-modify-entrypoints","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdeveric%2Fesbuild-plugin-modify-entrypoints","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdeveric%2Fesbuild-plugin-modify-entrypoints/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdeveric%2Fesbuild-plugin-modify-entrypoints/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdeveric%2Fesbuild-plugin-modify-entrypoints/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdeveric","download_url":"https://codeload.github.com/webdeveric/esbuild-plugin-modify-entrypoints/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdeveric%2Fesbuild-plugin-modify-entrypoints/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261987736,"owners_count":23240900,"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":["esbuild-plugin","plugin"],"created_at":"2024-11-13T02:53:31.041Z","updated_at":"2025-06-26T02:36:47.381Z","avatar_url":"https://github.com/webdeveric.png","language":"TypeScript","funding_links":["https://github.com/sponsors/webdeveric"],"categories":[],"sub_categories":[],"readme":"# `esbuild-plugin-modify-entrypoints`\n\n[![Build Status](https://github.com/webdeveric/esbuild-plugin-modify-entrypoints/workflows/Node.js%20CI/badge.svg)](https://github.com/webdeveric/esbuild-plugin-modify-entrypoints/actions)\n\n## Install\n\n```sh\nnpm install esbuild-plugin-modify-entrypoints -D\n```\n\n## Usage\n\nAdd the plugin to your esbuild `plugins`.\n\n```ts\nimport { build } from 'esbuild';\n\nimport { modifyEntrypointsPlugin } from 'esbuild-plugin-modify-entrypoints';\n\nconst results = await build({\n  entryPoints: ['your-file.ts'],\n  plugins: [\n    modifyEntrypointsPlugin(({ contents }) =\u003e {\n      return {\n        contents: `console.log('First');\\n${contents}`,\n        loader: 'ts',\n      };\n    }),\n  ],\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdeveric%2Fesbuild-plugin-modify-entrypoints","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdeveric%2Fesbuild-plugin-modify-entrypoints","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdeveric%2Fesbuild-plugin-modify-entrypoints/lists"}