# appcache-webpack-plugin **Repository Path**: mirrors_basilfx/appcache-webpack-plugin ## Basic Information - **Project Name**: appcache-webpack-plugin - **Description**: Generate an HTML5 Application Cache for a Webpack build - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-05-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Application Cache plugin for Webpack ## Usage ```javascript var AppCachePlugin = require('appcache-webpack-plugin'); module.exports = { plugins: [ new AppCachePlugin({ cache: ['someOtherAsset.jpg'], network: null, // No network access allowed! fallback: ['failwhale.jpg'], settings: ['prefer-online'], exclude: ['file.txt', /.*\.js$/] // Exclude file.txt and all .js files output: 'my-manifest.appcache' }) ] } ``` Arguments: * `cache`: An array of additional assets to cache. * `network`: An array of assets that may be accessed via the network. Defaults to `['*']`. * `fallback`: An array of fallback assets. * `settings`: An array of settings. * `exclude`: An array of strings or regex patterns. Assets in the compilation that match any of these patterns will be excluded from the manifest. * `output`: The filename to write the appcache to ## License [MIT](http://www.opensource.org/licenses/mit-license.php)