From 2e60037d9f8ef334bac93b864a8c7fec4a890b27 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 15 Feb 2019 16:11:33 +0100 Subject: [PATCH] add cache busting for app icons and msapp config xml --- src/vector/index.html | 24 ++++++++++++------------ webpack.config.js | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/vector/index.html b/src/vector/index.html index 5451ec52..f24007c9 100644 --- a/src/vector/index.html +++ b/src/vector/index.html @@ -3,22 +3,22 @@ Riot - - - - - - - - - + + + + + + + + + - + - - + + <% for (var i=0; i < htmlWebpackPlugin.files.css.length; i++) { diff --git a/webpack.config.js b/webpack.config.js index aba99054..6786d9e4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -61,7 +61,7 @@ module.exports = { }), }, { - test: /\.(gif|png|svg|ttf)$/, + test: /\.(gif|png|svg|ttf|xml|ico)$/, // Use a content-based hash in the name so that we can set a long cache // lifetime for assets while still delivering changes quickly. oneOf: [