This repository was archived by the owner on May 26, 2023. It is now read-only.

Description
here is my setting up:
new CopyWebpackPlugin([
{ from: './src/contacts.json' },
{ from: './src/offline.html' }
]),
new AppCachePlugin({
cache: [],
network: ['contact.json'],
fallback: ['offline.html'],
exclude: [
'contact.json',
'offline.html'
],
output: 'angular4-ts-webpack2.manifest.appcache'
})
CACHE MANIFEST
# 8f733b00f56b5349ae47
images/Iverson.599c733dcdf601a1.jpg
scripts/0.DetailModule.d6af6f108f3b17cd.js
scripts/polyfills.8ec46231416fd920.js
scripts/app.a1811fb437250cea.js
scripts/vendor.a52b3c4b85c4f901.js
scripts/0.DetailModule.d6af6f108f3b17cd.js.map
scripts/polyfills.8ec46231416fd920.js.map
scripts/app.a1811fb437250cea.js.map
scripts/vendor.a52b3c4b85c4f901.js.map
scripts/0.DetailModule.d6af6f108f3b17cd.js.gz
scripts/polyfills.8ec46231416fd920.js.gz
scripts/app.a1811fb437250cea.js.gz
scripts/vendor.a52b3c4b85c4f901.js.gz
index.html
contacts.json
NETWORK:
contact.json
FALLBACK:
offline.html
pay attention to the contact.json file. This file should not be in CACHE list.