All the features you'd expect and more, from development to production:
- No "entry points" or "pages" to configure - just
<script type=module src=anything.js>-
import "packages" from npm without installation- Smart bundling and caching for npm dependencies
- Hot reloading for modules, Preact components and CSS
- Lightning-fast JSX support that you can debug in the browser
- Import CSS files and CSS Modules (
*.module.css)- Static file serving with hot reloading of CSS and images
- Highly optimized Rollup-based production output (wmr build)
- Crawls and pre-renders your app's pages to static HTML at build time
- Built-in HTTP2 support in both development and production (wmr serve --http2)
- Supports Rollup plugins, even in development where Rollup isn't used
https://github.com/preactjs/wmr
#js