{"id":20279911,"url":"https://github.com/sernst/vite-mode-issue","last_synced_at":"2026-07-10T21:31:36.512Z","repository":{"id":170031477,"uuid":"641957349","full_name":"sernst/vite-mode-issue","owner":"sernst","description":"Shows that vite build in development mode is not being fully recognized.","archived":false,"fork":false,"pushed_at":"2023-05-27T12:11:52.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T01:22:54.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/sernst.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":"2023-05-17T14:12:01.000Z","updated_at":"2023-05-17T14:15:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"8e2b17e7-6444-4119-b783-b6ffd5dc6463","html_url":"https://github.com/sernst/vite-mode-issue","commit_stats":null,"previous_names":["sernst/vite-mode-issue"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sernst/vite-mode-issue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sernst%2Fvite-mode-issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sernst%2Fvite-mode-issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sernst%2Fvite-mode-issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sernst%2Fvite-mode-issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sernst","download_url":"https://codeload.github.com/sernst/vite-mode-issue/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sernst%2Fvite-mode-issue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35344523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-10T02:00:06.465Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-14T13:33:43.248Z","updated_at":"2026-07-10T21:31:36.493Z","avatar_url":"https://github.com/sernst.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vite Mode Issue\n\nThis example is built on the\n[Vanilla Vite Application](https://vitejs.dev/guide/#trying-vite-online)\nfrom the quick start guide.\n\nThis is a minimal example showing that Vite build with `--mode=developemnt` doesn't\nseem to be correctly identifying as development. The `import.meta.env.DEV` is `false`\nand `import.meta.env.PROD` is `true` when it should be the opposite. The\n`import.meta.env.MODE` is correctly showing the value that was passed in the mode\nargument.\n\nTo run this example:\n\n```shell\nnpm install\nnpm start\n```\n\nThis will run a vite build with `--mode=development` that can be opened from the created\ndist folder. Watch is enabled so any changes to the source files will trigger a rebuild.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsernst%2Fvite-mode-issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsernst%2Fvite-mode-issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsernst%2Fvite-mode-issue/lists"}