Only do preloading of assets in production mode.

This commit is contained in:
Jan Böhmer 2020-03-24 11:49:23 +01:00
parent 562db6da06
commit 43857ce985
2 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,7 @@
#webpack_encore:
webpack_encore:
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
# Available in version 1.2
#cache: true
cache: true
# Preload in production
preload: false