mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
[Webpack encore] Enable cache only in prod
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
webpack_encore:
|
||||
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
|
||||
# Available in version 1.2
|
||||
#cache: true
|
||||
@@ -2,7 +2,3 @@ webpack_encore:
|
||||
# The path where Encore is building the assets.
|
||||
# This should match Encore.setOutputPath() in webpack.config.js.
|
||||
output_path: '%kernel.project_dir%/public/build'
|
||||
|
||||
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
|
||||
# Available in version 1.2
|
||||
#cache: '%kernel.debug%'
|
||||
|
||||
Reference in New Issue
Block a user