mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-09 09:54:33 +02:00
Only do preloading of assets in production mode.
This commit is contained in:
parent
562db6da06
commit
43857ce985
2 changed files with 6 additions and 3 deletions
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue