{"id":25414061,"url":"https://github.com/daiz/vps-preact-compat-bug","last_synced_at":"2025-04-22T14:26:43.597Z","repository":{"id":67371248,"uuid":"448912673","full_name":"Daiz/vps-preact-compat-bug","owner":"Daiz","description":"A vite-plugin-ssr bug demonstration with preact/compat","archived":false,"fork":false,"pushed_at":"2022-01-17T15:49:15.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T14:48:29.167Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Daiz.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":"2022-01-17T13:50:44.000Z","updated_at":"2022-01-17T13:51:38.000Z","dependencies_parsed_at":"2023-02-21T17:45:50.029Z","dependency_job_id":null,"html_url":"https://github.com/Daiz/vps-preact-compat-bug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daiz%2Fvps-preact-compat-bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daiz%2Fvps-preact-compat-bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daiz%2Fvps-preact-compat-bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daiz%2Fvps-preact-compat-bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Daiz","download_url":"https://codeload.github.com/Daiz/vps-preact-compat-bug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250257766,"owners_count":21400793,"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":"2025-02-16T14:35:25.017Z","updated_at":"2025-04-22T14:26:43.592Z","avatar_url":"https://github.com/Daiz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vite SSR preact/compat resolve issue\n\nReproduction repo for [this Vite issue.](https://github.com/vitejs/vite/issues/6542)\n\n## Installation\n\n1. Clone the repo.\n2. `npm install`\n\n## Usage\n\n- `npm run dev` to run Vite's own development server. (`vite --port 1337`)\n- `npm run vite` to run Vite's own development server initialized via Vite's JS API, [as per Vite docs.](https://vitejs.dev/guide/api-javascript.html)\n- `npm run express` to run Vite's development server in `middlewareMode: \"ssr\"` inside an [express](https://expressjs.com/) server, [as per Vite docs.](https://vitejs.dev/config/#server-middlewaremode)\n- `npm run vps` to run Vite's development server with a [vite-plugin-ssr](https://github.com/brillout/vite-plugin-ssr) express setup. This setup comes largely from VPS's init script, with some unnecessary bits for reproduction stripped out. This is the only configuration where the resolve issue manifests.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaiz%2Fvps-preact-compat-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaiz%2Fvps-preact-compat-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaiz%2Fvps-preact-compat-bug/lists"}