chore: remove hash in htmlwebpackplugin

hash will make sw not work.

cache controller should ensure with filename's contenthash
pull/81/head
moonrailgun 3 years ago
parent fb4f19ad22
commit e2b9fdefab

@ -55,7 +55,7 @@ const plugins: Configuration['plugins'] = [
new HtmlWebpackPlugin({
title: 'TailChat',
inject: true,
hash: true,
hash: false,
favicon: path.resolve(ROOT_PATH, './assets/images/logo.svg'),
template: path.resolve(ROOT_PATH, './assets/template.html'),
preloadImage: `data:image/svg+xml;base64,${Buffer.from(

Loading…
Cancel
Save