offline-plugin
webpack-dev-middleware
Our great sponsors
offline-plugin | webpack-dev-middleware | |
---|---|---|
2 | 3 | |
4,503 | 2,469 | |
- | 0.2% | |
0.0 | 9.2 | |
over 2 years ago | 9 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
offline-plugin
-
Meteor with Webpack in 2018 — Faster compilation and better source handling
For example, you have a Progressive Web Application using Service Workers, written in Angular, then you have to create a service worker manifest based on your output files. We don’t have a solution for this on Meteor CLI natively. However, Webpack has a lot of community plugins such as OfflinePlugin , Workbox and many others for this problem as a solution. Just install them, and add to your webpack.config.js . Meteor-Webpack will handle it like you’re working on a pure Webpack project.
-
12 open source browser tools and how I've built them
Since Omatsuri is a browser only application the only thing that we need from service worker is to cache assets and provide app shell. Offline plugin does exactly that, the only thing we need to do – add it to the production build in webpack config:
webpack-dev-middleware
-
Serving react statically with express
Are you using webpack? If so, they have a middleware for exactly this case: https://github.com/webpack/webpack-dev-middleware. The example there should be added to your express script with some form of conditional statement to use express.static in your deployment and webpack-dev-middleware in dev.
-
Set custom MIME rules for create-react-app
It looks like this should have been fixed back in 2017: https://github.com/webpack/webpack-dev-middleware/issues/229
-
Meteor with Webpack in 2018 — Faster compilation and better source handling
Meteor-Webpack integrates webpack-dev-middleware and webpack-hot-middleware to benefit HMR in your project. The only thing you have to do is enabling this feature just like any other Webpack project;
What are some alternatives?
pwa-quasar-local - This project demonstrates how to develop a Progressive Web Application (PWA) locally on an Android device, using the Quasar Framework v2.
webpack-hot-server-middleware - :fire: Hot reload webpack bundles on the server
kiwix-js-pwa - Kiwix JS Offline Browser implemented as a Progressive Web App (PWA), and packaged as Electron, NWJS and UWP apps for Windows and Linux.
angular-cli - CLI tool for Angular
webpack-hot-middleware - Webpack hot reloading you can attach to your own server
react-refresh-webpack-plugin - A Webpack plugin to enable "Fast Refresh" (also previously known as Hot Reloading) for React components.
meteor-webpack - https://medium.com/@ardatan/meteor-with-webpack-in-2018-faster-compilation-better-source-handling-benefit-from-bc5ccc5735ef
next-offline - make your Next.js application work offline using service workers via Google's workbox
Neutrino - Create and build modern JavaScript projects with zero initial configuration.
webpack-require-from - Webpack plugin that allows to configure path or URL for fetching dynamic imports
react-specials - Repo for my React specials app.