{"id":19450952,"url":"https://github.com/rixo/svelte-template-webpack-hot","last_synced_at":"2025-10-25T20:33:39.958Z","repository":{"id":147724071,"uuid":"223923445","full_name":"rixo/svelte-template-webpack-hot","owner":"rixo","description":"Clone of official Svelte template for Webpack with added HMR support","archived":false,"fork":false,"pushed_at":"2020-02-28T15:41:08.000Z","size":107,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T15:44:14.235Z","etag":null,"topics":["hmr","hot-module-replacement","svelte","svelte3","template","webpack"],"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/rixo.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":"2019-11-25T10:37:34.000Z","updated_at":"2022-05-01T20:40:23.000Z","dependencies_parsed_at":"2023-04-03T14:49:33.314Z","dependency_job_id":null,"html_url":"https://github.com/rixo/svelte-template-webpack-hot","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/rixo%2Fsvelte-template-webpack-hot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixo%2Fsvelte-template-webpack-hot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixo%2Fsvelte-template-webpack-hot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixo%2Fsvelte-template-webpack-hot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rixo","download_url":"https://codeload.github.com/rixo/svelte-template-webpack-hot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250754495,"owners_count":21481822,"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":["hmr","hot-module-replacement","svelte","svelte3","template","webpack"],"created_at":"2024-11-10T16:39:41.655Z","updated_at":"2025-10-25T20:33:34.923Z","avatar_url":"https://github.com/rixo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svelte Template Hot\n\nThis is a copy of official [Svelte template for Webpack](https://github.com/sveltejs/template-webpack) with added HMR support.\n\nThis template aims to remain as close to the official template as possible. Please refer to official docs for general usage. For HMR specific stuff, see bellow!\n\n**:warning: Experimental :warning:**\n\nThis HMR implementation relies on Svelte's private \u0026 non documented API. This means that it can stop working with any new version of Svelte.\n\nProgress of Svelte HMR support can be tracked in [this issue](https://github.com/sveltejs/svelte/issues/3632).\n\n**NOTE** The template pins the major version of Svelte, using the [tilde comparator](https://docs.npmjs.com/misc/semver#tilde-ranges-123-12-1) because, in practice, HMR breakages tend to only happen with new major versions of Svelte. In your app, you can change this to your liking -- because you might be more interested in last version of Svelte than working HMR, or be wise and pin the exact versions of all you dependencies.\n\n## Installation\n\nTo create a new project based on this template using [degit](https://github.com/Rich-Harris/degit):\n\n```bash\nnpx degit rixo/svelte-template-webpack-hot svelte-app\ncd svelte-app\nnpm install\n```\n\nRun the build script a first time, in order to avoid 404 errors about missing `bundle.css` in the browser:\n\n```bash\nnpm run build\n```\n\n## Quick start\n\n```bash\nnpm run dev\n```\n\nNavigate to http://localhost:8080. You should see your app running. Edit a component file in `src`, save it, and... Eyeball!\n\n## Usage / Add it to your project\n\nTODO\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frixo%2Fsvelte-template-webpack-hot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frixo%2Fsvelte-template-webpack-hot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frixo%2Fsvelte-template-webpack-hot/lists"}