mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 17:55:03 +02:00
Updated symfony/webpack-encore-bundle recipe
This commit is contained in:
parent
89e1492132
commit
98e3a374ed
4 changed files with 21 additions and 22 deletions
|
@ -21,7 +21,7 @@ webpack_encore:
|
|||
preload: true
|
||||
|
||||
# Throw an exception if the entrypoints.json file is missing or an entry is missing from the data
|
||||
# strict_mode: false
|
||||
strict_mode: true
|
||||
|
||||
# If you have multiple builds:
|
||||
# builds:
|
||||
|
@ -32,4 +32,12 @@ webpack_encore:
|
|||
|
||||
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
|
||||
# Put in config/packages/prod/webpack_encore.yaml
|
||||
# cache: true
|
||||
cache: false
|
||||
|
||||
when@prod:
|
||||
webpack_encore:
|
||||
cache: true
|
||||
|
||||
when@test:
|
||||
webpack_encore:
|
||||
strict_mode: true
|
Loading…
Add table
Add a link
Reference in a new issue