Skip to content

Commit

Permalink
Merge pull request #72 from OpenConext/feature/implement-asset-versio…
Browse files Browse the repository at this point in the history
…ning

Enable asset versioning using Encore
  • Loading branch information
MKodde authored Mar 14, 2019
2 parents 4f7f936 + 0d2158d commit f9b45dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ framework:
handler_id: ~
fragments: ~
http_method_override: true
assets: ~
assets:
json_manifest_path: '%kernel.project_dir%/web/build/manifest.json'
php_errors:
log: true

Expand Down
4 changes: 3 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ Encore
}
]
})
.enableSourceMaps();
.enableSourceMaps()
.enableVersioning();


module.exports = Encore.getWebpackConfig();
module.exports.externals = {
Expand Down

0 comments on commit f9b45dc

Please sign in to comment.