Skip to content

Commit 767a215

Browse files
committed
documenting new options and fixing misleading value for cache
1 parent f1ec2fe commit 767a215

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ webpack_encore:
2727

2828
# if using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')
2929
# crossorigin: 'anonymous'
30+
31+
# preload all rendered script and link tags automatically via the http2 Link header
32+
# preload: true
33+
34+
# Throw an exception if the entrypoints.json file is missing or an entry is missing from the data
35+
# strict_mode: false
3036

3137
# if you have multiple builds:
3238
# builds:
@@ -37,7 +43,8 @@ webpack_encore:
3743

3844
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
3945
# Available in version 1.2
40-
#cache: '%kernel.debug%'
46+
# Put in config/packages/prod/webpack_encore.yaml
47+
# cache: true
4148
```
4249

4350
## Usage

0 commit comments

Comments
 (0)