{"id":24531553,"url":"https://github.com/eik-lib/vite-plugin","last_synced_at":"2026-05-04T06:03:11.108Z","repository":{"id":271707946,"uuid":"904717579","full_name":"eik-lib/vite-plugin","owner":"eik-lib","description":"Wrapper around the Eik rollup plugin to make it slightly more ergonomic to use in Vite","archived":false,"fork":false,"pushed_at":"2026-02-01T16:55:08.000Z","size":582,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-02-01T23:37:55.740Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eik-lib.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-17T12:25:16.000Z","updated_at":"2026-02-01T16:55:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"6050bacf-432c-469e-b8a6-0e0b6dac484f","html_url":"https://github.com/eik-lib/vite-plugin","commit_stats":null,"previous_names":["eik-lib/vite-plugin"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/eik-lib/vite-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eik-lib%2Fvite-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eik-lib%2Fvite-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eik-lib%2Fvite-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eik-lib%2Fvite-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eik-lib","download_url":"https://codeload.github.com/eik-lib/vite-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eik-lib%2Fvite-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29120481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T10:47:47.471Z","status":"ssl_error","status_checked_at":"2026-02-05T10:45:08.119Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-01-22T09:15:33.394Z","updated_at":"2026-02-05T11:01:52.286Z","avatar_url":"https://github.com/eik-lib.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @eik/vite-plugin\n\n[Vite](https://vite.dev/) plugin for [build-time import mapping with Eik](https://eik.dev/docs/guides/vite).\n\nThis is a small wrapper around the [Rollup plugin](https://github.com/eik-lib/rollup-plugin) to make it slightly more ergonomic to use in Vite.\n\n## Installation\n\n```bash\nnpm install --save-dev vite @eik/vite-plugin\n```\n\n## Usage\n\n```js\nimport eik from \"@eik/vite-plugin\";\nimport { defineConfig } from \"vite\";\n\nexport default defineConfig({\n  plugins: [eik()],\n  build: {\n    rollupOptions: {\n      output: {\n        // Turn off the asset hashes. Stable file names\n        // make it easier to use the Eik node client:\n        // https://github.com/eik-lib/node-client\n        // Publishinig a new version on Eik gives a\n        // unique URL, no hash needed.\n        assetFileNames: \"[name].[ext]\",\n        entryFileNames: \"[name].js\",\n        chunkFileNames: \"[name].js\",\n      },\n    },\n  },\n});\n```\n\n## Options\n\nThe options you can give to `eik()` are the same as for the Rollup plugin.\nRefer to [the Rollup plugin documentation](https://github.com/eik-lib/rollup-plugin?tab=readme-ov-file#options) to see what you can do.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feik-lib%2Fvite-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feik-lib%2Fvite-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feik-lib%2Fvite-plugin/lists"}