Commit 512bf648 authored by DJ Mountney's avatar DJ Mountney

Merge branch '8-17-stable-force-expire-cache' into '8-17-stable'

Expire all webpack assets by altering filename postfix

See merge request !9602
parents 8943e22c fd994f57
---
title: Expire all webpack assets after 8.17.1 included a badly compiled asset
merge_request: 9602
author:
...@@ -42,7 +42,7 @@ var config = { ...@@ -42,7 +42,7 @@ var config = {
output: { output: {
path: path.join(ROOT_PATH, 'public/assets/webpack'), path: path.join(ROOT_PATH, 'public/assets/webpack'),
publicPath: '/assets/webpack/', publicPath: '/assets/webpack/',
filename: IS_PRODUCTION ? '[name]-[chunkhash].js' : '[name].js' filename: IS_PRODUCTION ? '[name]-[chunkhash]-v2.js' : '[name].js'
}, },
devtool: 'inline-source-map', devtool: 'inline-source-map',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment