committed by
Kevin Papst
parent
7deaba8368
commit
974cee0b6e
@@ -35,6 +35,14 @@ Encore
|
||||
.enableSassLoader(function(sassOptions) {}, {
|
||||
resolveUrlLoader: false
|
||||
})
|
||||
|
||||
// add hash after file name
|
||||
.configureFilenames({
|
||||
js: '[name].js?[chunkhash]',
|
||||
css: '[name].css?[contenthash]',
|
||||
images: 'images/[name].[ext]?[hash:8]',
|
||||
fonts: 'fonts/[name].[ext]?[hash:8]'
|
||||
})
|
||||
;
|
||||
|
||||
module.exports = Encore.getWebpackConfig();
|
||||
|
||||
Reference in New Issue
Block a user