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

@ -8,7 +8,7 @@ webpack_encore:
# crossorigin: 'anonymous'
# preload all rendered script and link tags automatically via the http2 Link header
preload: true
#preload: false
# Throw an exception if the entrypoints.json file is missing or an entry is missing from the data
# strict_mode: false