Added hash when loacind JS file to bust cache (#755)

This commit is contained in:
Harshil Sharma 2021-07-20 16:48:41 +05:30 committed by GitHub
parent 9b253ffee1
commit 037ca41b64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,6 +106,7 @@ function makeCommonConfig() {
template: 'html-templates/page.ejs',
filename: 'index.html',
publicPath: '{{.BaseURL}}/',
hash: true,
}),
],
entry: ['./src/main.tsx', './src/userSettings.ts'],