Adjust compiled asset filenames
This commit is contained in:
committed by
Björn Fromme
parent
9fb201bd83
commit
e10d60b893
+3
-2
@@ -14,6 +14,7 @@ Encore
|
||||
.enableSassLoader()
|
||||
.enableVueLoader()
|
||||
.autoProvidejQuery()
|
||||
.enableVersioning()
|
||||
.enableSourceMaps(!Encore.isProduction())
|
||||
.cleanupOutputBeforeBuild()
|
||||
.enablePostCssLoader()
|
||||
@@ -23,8 +24,8 @@ Encore
|
||||
{ from: './node_modules/leaflet/dist/images', to: 'images/[name].[ext]' },
|
||||
])
|
||||
.configureFilenames({
|
||||
js: 'js/[name].js',
|
||||
css: 'css/[name].css',
|
||||
js: 'js/[name].[contenthash].js',
|
||||
css: 'css/[name].[contenthash].css',
|
||||
})
|
||||
.configureImageRule({
|
||||
filename: 'images/[name][ext]',
|
||||
|
||||
Reference in New Issue
Block a user