From 767a2159cce860da3278649b0ee5ce460758319c Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Sun, 26 May 2019 14:14:33 -0400 Subject: [PATCH] documenting new options and fixing misleading value for cache --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f924ddb8..5ca8ff78 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,12 @@ webpack_encore: # if using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials') # crossorigin: 'anonymous' + + # preload all rendered script and link tags automatically via the http2 Link header + # preload: true + + # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data + # strict_mode: false # if you have multiple builds: # builds: @@ -37,7 +43,8 @@ webpack_encore: # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes) # Available in version 1.2 - #cache: '%kernel.debug%' + # Put in config/packages/prod/webpack_encore.yaml + # cache: true ``` ## Usage