[Webpack encore] Enable cache only in prod

This commit is contained in:
Nyholm
2019-04-06 14:59:46 +02:00
parent 1b63c59684
commit 1134053734
2 changed files with 4 additions and 4 deletions
@@ -0,0 +1,4 @@
webpack_encore:
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
# Available in version 1.2
#cache: true
@@ -2,7 +2,3 @@ webpack_encore:
# The path where Encore is building the assets.
# This should match Encore.setOutputPath() in webpack.config.js.
output_path: '%kernel.project_dir%/public/build'
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
# Available in version 1.2
#cache: '%kernel.debug%'