Skip to content

Add appcache-webpack-plugin to a react-app-rewired config.

License

Notifications You must be signed in to change notification settings

lwd-technology/react-app-rewire-appcache-plugin

Repository files navigation

react-app-rewire-appcache-plugin

Add appcache-webpack-plugin-plus to a react-app-rewired config.

const rewireAppcachePlugin = require('react-app-rewire-appcache-plugin')

// Generate a manifest.appcache file
config = rewireAppcachePlugin(config, env, {
  settings: ['prefer-online'],
  output: 'manifest.appcache'
})