Webpack plugin (v1.4.0, last updated 2016) to generate HTML5 Application Cache manifests (.appcache) for offline web apps. Supports cache, network, fallback, settings, and exclude options. Deprecated due to the HTML5 AppCache spec being removed from browsers. Alternatives: Service Workers. Webpack peer dependency: >=0.11 <=4.x.x.
npm install appcache-webpack-pluginVerified import paths — ran on the pinned version, not inferred.
Generates an appcache manifest with custom cache, network, fallback, exclude patterns, and output filename.
Migrate to a service worker plugin like workbox-webpack-plugin.
Add manifest='my-manifest.appcache' to the <html> tag in your HTML template.
Explicitly set `network: ['*']` or `network: null` based on desired behavior.
Use an alternative plugin like serviceworker-webpack-plugin or workbox-webpack-plugin.
Double-check exclude patterns to ensure critical assets are not omitted.
npm install appcache-webpack-plugin --save-dev
Use `const AppCachePlugin = require('appcache-webpack-plugin');` and instantiate with `new`.Downgrade webpack to 4.x.x or use a different plugin that supports your webpack version.