The smallest Preact Progressive Web App 2018 stack with:
- preact router with history
- preact-async-route for lazy loading components
- preact material components
- babel-preset-env for ES6 & JSX support
- webpack-config-utils in single webpack.config.babel.js for production and development
- offline-plugin for serving files when offline
- webpack dev server included for local development
- SASS support
- Compatible with IE11 and higher
- 100% in Lighthouse Audit
Local development
npm install
npm start
Production version
npm run build