mirror of
https://github.com/valitydev/redash.git
synced 2024-11-08 18:03:54 +00:00
Merge pull request #1496 from getredash/v1fixes
Add content hash to JS/CSS build files. Closes #1450
This commit is contained in:
commit
4e218b76ae
@ -14,7 +14,7 @@ var config = {
|
||||
output: {
|
||||
// path: process.env.NODE_ENV === 'production' ? './dist' : './dev',
|
||||
path: './dist',
|
||||
filename: '[name].js',
|
||||
filename: '[name].[chunkhash].js',
|
||||
},
|
||||
|
||||
plugins: [
|
||||
@ -46,7 +46,7 @@ var config = {
|
||||
// template: __dirname + '/app/' + 'index.html'
|
||||
template: './app/index.html'
|
||||
}),
|
||||
new ExtractTextPlugin('styles.css')
|
||||
new ExtractTextPlugin('styles.[chunkhash].css')
|
||||
],
|
||||
|
||||
module: {
|
||||
|
Loading…
Reference in New Issue
Block a user