Do asset preloading in production mode.

This commit is contained in:
Jan Böhmer 2020-03-30 17:07:51 +02:00
parent e83d72ec10
commit 7e1247398b
2 changed files with 2 additions and 2 deletions

View file

@ -4,4 +4,4 @@ webpack_encore:
cache: true cache: true
# Preload in production # Preload in production
preload: false preload: true

View file

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