Offline Plugin

Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
CategoriesĀ >Ā LibrariesĀ >Ā Plugin
Alternatives To Offline Plugin
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Serverless Offline4,8691,3063687 days ago351September 23, 202287mitJavaScript
Emulate AWS Ī» and API Gateway locally when developing your Serverless project
Offline Plugin4,4423,271569a year ago74May 03, 2019109mitJavaScript
Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
Sw Precache Webpack Plugin1,43345,0892,6133 years ago32January 25, 202025mitJavaScript
Webpack plugin that generates a service worker using sw-precache that will cache webpack's bundles' emitted assets. You can optionally pass sw-precache configuration options to webpack through this plugin.
Fastlogin382
12 hours ago135mitJava
Checks if a minecraft player has a valid paid account. If so, they can skip offline authentication automatically. (premium auto login)
Super Progressive Web Apps347
20 days ago84gpl-2.0PHP
SuperPWA helps to convert your WordPress website into Progressive Web Apps instantly. PWA (Progressive Web Apps) demo at : https://superpwa.com and Plugin :
Docusaurus Search Local317
25 days ago31June 12, 202221mitJavaScript
Offline / Local Search for Docusaurus v2. Try it live at:
Hibpofflinecheck267
3 months ago2otherC#
Keepass plugin that performs offline and online checks against HaveIBeenPwned passwords
Grunt Maven Plugin218
7 years ago20June 24, 201523otherJava
Grunt + Maven integration done right
Regipy2144a month ago71June 29, 20223mitPython
Regipy is an os independent python library for parsing offline registry hives
Serverless S3 Local1861745 days ago74December 14, 202242mitJavaScript
Serverless s3 local plugin.
Alternatives To Offline Plugin
Select To Compare


Alternative Project Comparisons
Readme
offline-plugin logo

offline-plugin for webpack

backers sponsors npm npm


This plugin is intended to provide an offline experience for webpack projects. It uses ServiceWorker, and AppCache as a fallback under the hood. Simply include this plugin in your webpack.config, and the accompanying runtime in your client script, and your project will become offline ready by caching all (or some) of the webpack output assets.

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site.
Become a sponsor

Install

npm install offline-plugin [--save-dev]

Setup

First, instantiate the plugin in your webpack.config:

// webpack.config.js example

var OfflinePlugin = require('offline-plugin');

module.exports = {
  // ...

  plugins: [
    // ... other plugins
    // it's always better if OfflinePlugin is the last plugin added
    new OfflinePlugin()
  ]
  // ...
}

(and optionally configure with options)

Then, add the runtime into your entry file (typically main entry):

require('offline-plugin/runtime').install();

ES6/Babel/TypeScript

import * as OfflinePluginRuntime from 'offline-plugin/runtime';
OfflinePluginRuntime.install();

For more details of usage with TypeScript see here

offline-plugin isn't working?

ā„¹ļø Troubleshooting | FAQ

Docs

Examples

Articles

Options

All options are optional and offline-plugin can be used without specifying them.

See all available options here.

Who is using offline-plugin

Projects

PWAs

If you are using offline-plugin, feel free to submit a PR to add your project to this list.

Like offline-plugin?

Support it by giving feedback, contributing, becoming a backer/sponsor or just by 🌟 starring the project!

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Contribution

See CONTRIBUTING

License

MIT
Logo

CHANGELOG

CHANGELOG

Popular Plugin Projects
Popular Offline Projects
Popular Libraries Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Plugin
Webpack Plugin
Offline
Service Worker
Offline First