Skip to content

Commit

Permalink
Revert cache setting in Encore config to default
Browse files Browse the repository at this point in the history
This in practice disables Encore built-in cache on dev environments, following Symfony's default configuration in this matter.
Fixes an issue when adding new entrypoints to webpack.config.js that were not recognized until cache was cleared - which lead
to confusing errors on occuring on templates files that included those entrypoints.
  • Loading branch information
Steveb-p committed Oct 2, 2020
1 parent 1f3d26e commit 7b87bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/packages/webpack_encore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ webpack_encore:

# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
# Available in version 1.2
cache: '%kernel.debug%'
# cache: true

0 comments on commit 7b87bb9

Please sign in to comment.