diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-06-06 19:50:46 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-12-13 17:09:15 +0100 |
| commit | f5a0607e5e206a3f518d10162ecb6575be40d2c0 (patch) | |
| tree | 9518f86d0cbc33e54bf6b193903128c1769b0a34 /webpack.config.js | |
| parent | 0e87f4bdd97f19a1828b6c2ed547f91cb916981f (diff) | |
| download | brokentalents-f5a0607e5e206a3f518d10162ecb6575be40d2c0.tar.gz brokentalents-f5a0607e5e206a3f518d10162ecb6575be40d2c0.zip | |
SW: Track source data changes
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js index 69363f9..25ad82c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -49,7 +49,12 @@ module.exports = { new SWPrecacheWebpackPlugin({ cacheId: 'brokentalents-1', filepath: './service-worker.js', - staticFileGlobs: ['index.html', 'dist/**/*'], + staticFileGlobs: [ + 'index.html', + 'dist/**/*', + 'data/*/report.json', + 'data/*/metadata.json', + ], minify: true, }), new PurgecssPlugin({ |
