mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 01:25:16 +00:00
Add content hash to JS/CSS build files. Closes #1450
This commit is contained in:
parent
48faf50db6
commit
bb24b878c6
@ -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