{"id":20279911,"url":"https://github.com/sernst/vite-mode-issue","last_synced_at":"2025-10-15T19:46:05.868Z","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-01-14T07:13:34.640Z","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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241773256,"owners_count":20018064,"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":[],"created_at":"2024-11-14T13:33:43.248Z","updated_at":"2025-10-15T19:46:00.610Z","avatar_url":"https://github.com/sernst.png","language":"CSS","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","funding_links":[],"categories":[],"sub_categories":[],"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"}