Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

exclude option not working as expected with copy-webpack-plugin. #22

Open
mrdulin opened this issue Aug 20, 2017 · 0 comments
Open

exclude option not working as expected with copy-webpack-plugin. #22

mrdulin opened this issue Aug 20, 2017 · 0 comments

Comments

@mrdulin
Copy link

mrdulin commented Aug 20, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant