{"id":13433695,"url":"https://github.com/preactjs/wmr","last_synced_at":"2025-05-14T00:09:27.561Z","repository":{"id":38229194,"uuid":"265963108","full_name":"preactjs/wmr","owner":"preactjs","description":"👩‍🚀 The tiny all-in-one development tool for modern web apps.","archived":false,"fork":false,"pushed_at":"2024-03-19T07:13:38.000Z","size":4267,"stargazers_count":4925,"open_issues_count":89,"forks_count":106,"subscribers_count":35,"default_branch":"main","last_synced_at":"2025-05-03T21:28:17.822Z","etag":null,"topics":["build-tool","esmodules","preact","rollup"],"latest_commit_sha":null,"homepage":"https://wmr.dev/","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/preactjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":["preactjs"],"open_collective":"preact"}},"created_at":"2020-05-21T22:19:03.000Z","updated_at":"2025-04-30T09:13:18.000Z","dependencies_parsed_at":"2024-04-14T23:52:01.531Z","dependency_job_id":"1cfb2c31-6e7c-487e-9609-304729c956a3","html_url":"https://github.com/preactjs/wmr","commit_stats":{"total_commits":1506,"total_committers":39,"mean_commits":38.61538461538461,"dds":0.6533864541832669,"last_synced_commit":"a3d8935d5c5f99f5cd9b3a5ad435ee9f063cf5ad"},"previous_names":[],"tags_count":81,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs%2Fwmr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs%2Fwmr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs%2Fwmr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs%2Fwmr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/preactjs","download_url":"https://codeload.github.com/preactjs/wmr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253018371,"owners_count":21841140,"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":["build-tool","esmodules","preact","rollup"],"created_at":"2024-07-31T02:01:33.412Z","updated_at":"2025-05-14T00:09:27.545Z","avatar_url":"https://github.com/preactjs.png","language":"JavaScript","readme":"# WMR\n\n\u003e [!WARNING]\n\u003e WMR is unfortunately no longer maintained. In its place, we'd recommend [Vite](https://vitejs.dev) with [`@preactjs/preset-vite`](https://github.com/preactjs/preset-vite). It offers many of the same features (like the prerendering API) but is much more robust and up to date. Thanks to all contributors and users over the years!\n\n\u003cimg src=\"./docs/public/assets/wmr.svg\" alt=\"wmr logo\" width=\"400\"\u003e\n\n[![npm](https://img.shields.io/npm/v/wmr.svg)](http://npm.im/wmr)\n[![install size](https://packagephobia.com/badge?p=wmr)](https://packagephobia.com/result?p=wmr)\n[![OpenCollective Backers](https://opencollective.com/preact/backers/badge.svg)](#backers)\n[![OpenCollective Sponsors](https://opencollective.com/preact/sponsors/badge.svg)](#sponsors)\n\n**The tiny all-in-one development tool for modern web apps**, in a single 2mb file with no dependencies.\n\nAll the features you'd expect and more, from development to production:\n\n🔨 \u0026nbsp; No entry points or pages to configure - just HTML files with `\u003cscript type=module\u003e`\u003cbr\u003e\n🦦 \u0026nbsp; Safely `import \"packages\"` from npm **_without installation_**\u003cbr\u003e\n📦 \u0026nbsp; Smart bundling and caching for npm dependencies\u003cbr\u003e\n↻ \u0026nbsp; Hot reloading for modules, Preact components and CSS\u003cbr\u003e\n⚡️ \u0026nbsp; Lightning-fast JSX support that you can debug in the browser\u003cbr\u003e\n💄 \u0026nbsp; Import CSS files and [CSS Modules](https://github.com/css-modules/css-modules) (`*.module.css`)\u003cbr\u003e\n🔩 \u0026nbsp; Out-of-the-box support for [TypeScript](https://www.typescriptlang.org/)\u003cbr\u003e\n📂 \u0026nbsp; Static file serving with hot reloading of CSS and images\u003cbr\u003e\n🗜 \u0026nbsp; Highly optimized Rollup-based production output (`wmr build`)\u003cbr\u003e\n📑 \u0026nbsp; Crawls and pre-renders your app's pages to static HTML at build time\u003cbr\u003e\n🏎 \u0026nbsp; Built-in HTTP2 in dev and prod (`wmr serve --http2`)\u003cbr\u003e\n🔧 \u0026nbsp; Supports [Rollup plugins](packages/wmr/README.md#configuration-and-plugins), even in development where Rollup isn't used\n\n## Quickstart _(recommended)_\n\nCreate a new project in seconds using [create-wmr](https://npm.im/create-wmr):\n\n\u003cstrong\u003e\u003ccode\u003enpm init wmr your-project-name\u003c/code\u003e\u003c/strong\u003e\n\nor\n\n\u003cstrong\u003e\u003ccode\u003eyarn create wmr your-project-name\u003c/code\u003e\u003c/strong\u003e\n\n\u003cp\u003e\n\u003cimg width=\"400\" src=\"https://user-images.githubusercontent.com/105127/100917537-4661e100-34a5-11eb-89bd-565b7bc31919.gif\" alt=\"illustration of installation to build for wmr\"\u003e\n\u003c/p\u003e\n\n\u003e 💁 If you'd like ESLint to be set up for you, add `--eslint` to the command. _Note: this will use 150mb of disk space._\n\n[Check out the docs to learn more](https://wmr.dev/docs)\n\n## Packages\n\n| Package                                              | Description                                              | Version                                                                                                                            |\n| ---------------------------------------------------- | :------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------- |\n| [wmr](packages/wmr)                                  | Tiny all-in-one development tool for modern web apps     | [![wmr npm](https://img.shields.io/npm/v/wmr.svg)](https://npm.im/wmr)                                                             |\n| [create-wmr](packages/create-wmr)                    | Create a new WMR project in seconds                      | [![create-wmr npm](https://img.shields.io/npm/v/create-wmr.svg)](https://npm.im/create-wmr)                                        |\n| [@wmrjs/directory-import](packages/directory-plugin) | Import a directory's files as an Array                   | [![@wmrjs/directory-import npm](https://img.shields.io/npm/v/@wmrjs/directory-import.svg)](https://npm.im/@wmrjs/directory-import) |\n| [@wmrjs/nomodule](packages/nomodule-plugin)          | Generate legacy fallback bundles for older browsers      | [![@wmrjs/nomodule npm](https://img.shields.io/npm/v/@wmrjs/nomodule.svg)](https://npm.im/@wmrjs/nomodule)                         |\n| [@wmrjs/service-worker](packages/sw-plugin)          | Bundle service workers                                   | [![@wmrjs/service-worker npm](https://img.shields.io/npm/v/@wmrjs/service-worker.svg)](https://npm.im/@wmrjs/service-worker)       |\n| [preact-iso](packages/preact-iso)                    | Optimal code-splitting, hydration and routing for Preact | [![preact-iso npm](https://img.shields.io/npm/v/preact-iso.svg)](https://npm.im/preact-iso)                                        |\n\n## Contributing\n\n```sh\ngit clone git@github.com:preactjs/wmr.git\ncd wmr\nyarn\n\n# run the demo (no compile)\nyarn demo serve\n\n# build and serve the demo for prod\nyarn demo build:prod \u0026\u0026 yarn demo serve:prod\n\n# build the single-file CLI:\nyarn workspace wmr build\n```\n\n### Adding a changeset\n\nDon't forget to also include a changeset, by running this command at the root of the project:\n\n```sh\nyarn changeset\n```\n\nThis will take you through a process of selecting the changed packages, the version updates and a description of the change. Afterwards, `changesets`, will generate a `.md` file inside a `.changeset` directory. Please commit that file as well.\n\nAfter all that, you are good to go. :+1:\n","funding_links":["https://github.com/sponsors/preactjs","https://opencollective.com/preact"],"categories":["JavaScript","others","Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreactjs%2Fwmr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreactjs%2Fwmr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreactjs%2Fwmr/lists"}