{"id":18797642,"url":"https://github.com/reconbot/arc-plugin-esbuild","last_synced_at":"2025-04-13T16:32:15.694Z","repository":{"id":39218785,"uuid":"403301165","full_name":"reconbot/arc-plugin-esbuild","owner":"reconbot","description":"Bundles arc functions with esbuild, includes dependencies and tree shakes!","archived":true,"fork":false,"pushed_at":"2025-03-30T19:03:38.000Z","size":2701,"stargazers_count":3,"open_issues_count":16,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-04T18:11:33.755Z","etag":null,"topics":["architect","esbuild"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/arc-plugin-esbuild","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reconbot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"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}},"created_at":"2021-09-05T12:20:40.000Z","updated_at":"2025-03-31T02:04:06.000Z","dependencies_parsed_at":"2024-11-15T15:18:47.237Z","dependency_job_id":"ff6d3049-6470-4092-95ac-4122625cc7a5","html_url":"https://github.com/reconbot/arc-plugin-esbuild","commit_stats":{"total_commits":263,"total_committers":7,"mean_commits":37.57142857142857,"dds":"0.34980988593155893","last_synced_commit":"6a7321f0db8787195bff5d4b97b98c1214ff5efd"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reconbot%2Farc-plugin-esbuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reconbot%2Farc-plugin-esbuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reconbot%2Farc-plugin-esbuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reconbot%2Farc-plugin-esbuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reconbot","download_url":"https://codeload.github.com/reconbot/arc-plugin-esbuild/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248743915,"owners_count":21154767,"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":["architect","esbuild"],"created_at":"2024-11-07T22:08:58.975Z","updated_at":"2025-04-13T16:32:15.386Z","avatar_url":"https://github.com/reconbot.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# arc-plugin-esbuild\n\nBundles arc functions with [esbuild](https://esbuild.github.io/), includes dependencies and tree shakes!\n\n\u003e [Arc serverless framework](https://arc.codes) plugin for compiling your functions with ESBuild Bundler\n\n## Install\n\n```bash\nnpm i --save-dev arc-plugin-esbuild\n```\n\n## Usage\n\nAfter installing add `@plugins` and `@esbuild` pragmas to your `app.arc` file:\n\n`app.arc`\n\n```arc\n@app\nmyapp\n\n@aws\nruntime esbuild\n\n@http\nget /\n\n@plugins\narc-plugin-esbuild\n```\n\n### Options\n\nThis plugin supports the following options under the `@esbuild` pragma:\n\n|Option|Description|Example|\n|---|---|---|\n|`buildDirectory`| The directory to write the bundled files to. This directory will be used at deploy-time before bundling your functions for deployment. Defaults to `.esbuild`. If you use hydration it's recommended to set this to `src` and commingle your js and ts. |`buildDirectory .esbuild`|\n|`external`| esbuild package externals defaults to `aws-sdk` [passed directly to esbuild](https://esbuild.github.io/api/#external) | `external '@prisma/client' aws-sdk` |\n|`baseRuntime`| The lambda runtime we should target. Defaults to `nodejs16.x` | `baseRuntime nodejs14.x` |\n|`configFile`| A config file that is passed to esbuild. This allows for esbuild plugins. It should be a commonjs .js file as it will be `required()`. You can override everything so be careful. See our source for existing build options. | `configFile .esbuildrc.js` |\n\n### Hydration\n\nCustom runtimes do not support any shared code or hydration.\n\n## Sample Application\n\nThere is a sample application located under `sample-app/`. `cd` into that\ndirectory, `npm install` and you can run locally via `arc sandbox` or deploy to\nthe internet via `arc deploy`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freconbot%2Farc-plugin-esbuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freconbot%2Farc-plugin-esbuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freconbot%2Farc-plugin-esbuild/lists"}