Skip to content

Commit 495abe2

Browse files
authored
Add note to enable caching in prod
1 parent 54f537e commit 495abe2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

symfony/webpack-encore-bundle/1.0/config/packages/webpack_encore.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ webpack_encore:
88
# if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')
99
# crossorigin: 'anonymous'
1010

11-
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
11+
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).
12+
# To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true
1213
# Available in version 1.2
1314
#cache: 'false'

0 commit comments

Comments
 (0)