{"id":14155958,"url":"https://github.com/hannoeru/esbuild-plugin-raw","last_synced_at":"2025-03-22T21:31:39.759Z","repository":{"id":36981801,"uuid":"371294413","full_name":"hannoeru/esbuild-plugin-raw","owner":"hannoeru","description":"esbuild plugin for raw import","archived":false,"fork":false,"pushed_at":"2024-10-22T19:17:44.000Z","size":1169,"stargazers_count":16,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T21:12:45.032Z","etag":null,"topics":["esbuild","raw","tsup"],"latest_commit_sha":null,"homepage":"","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/hannoeru.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-05-27T08:05:08.000Z","updated_at":"2024-10-22T17:43:27.000Z","dependencies_parsed_at":"2023-12-30T03:28:22.557Z","dependency_job_id":"266d2a01-88e0-4739-87d0-1769194e6b7d","html_url":"https://github.com/hannoeru/esbuild-plugin-raw","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hannoeru%2Fesbuild-plugin-raw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hannoeru%2Fesbuild-plugin-raw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hannoeru%2Fesbuild-plugin-raw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hannoeru%2Fesbuild-plugin-raw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hannoeru","download_url":"https://codeload.github.com/hannoeru/esbuild-plugin-raw/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245022573,"owners_count":20548562,"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","raw","tsup"],"created_at":"2024-08-17T08:05:07.075Z","updated_at":"2025-03-22T21:31:39.477Z","avatar_url":"https://github.com/hannoeru.png","language":"TypeScript","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# esbuild-plugin-raw\n\n## Install\n\n```sh\n$ npm install -D esbuild-plugin-raw\n```\n\n## Usage\n\n### With build script\n\n```js\nimport esbuild from 'esbuild'\nimport RawPlugin from 'esbuild-plugin-raw'\n\nesbuild.build({\n  entryPoints: ['app.js'],\n  bundle: true,\n  outfile: 'out.js',\n  plugins: [RawPlugin],\n}).catch(() =\u003e process.exit(1))\n```\n\n### With [tsup](https://github.com/egoist/tsup)\n\n```js\nimport { defineConfig } from 'tsup'\nimport RawPlugin from 'esbuild-plugin-raw'\n\nexport default defineConfig({\n  entryPoints: ['index.ts'],\n  format: ['cjs', 'esm'],\n  dts: true,\n  esbuildPlugins: [RawPlugin()],\n  clean: true,\n})\n```\n\n## License\n\nMIT License © 2021 [hannoeru](https://github.com/hannoeru)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhannoeru%2Fesbuild-plugin-raw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhannoeru%2Fesbuild-plugin-raw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhannoeru%2Fesbuild-plugin-raw/lists"}