From d716ac872a61de8c8aa5bc2f9f77bee59902bdac Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Fri, 1 Mar 2019 11:29:49 -0500 Subject: [PATCH] Documenting the WebpackEncoreBundle caching option --- .../1.0/config/packages/webpack_encore.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/symfony/webpack-encore-bundle/1.0/config/packages/webpack_encore.yaml b/symfony/webpack-encore-bundle/1.0/config/packages/webpack_encore.yaml index c1c19d37..05d8bff4 100644 --- a/symfony/webpack-encore-bundle/1.0/config/packages/webpack_encore.yaml +++ b/symfony/webpack-encore-bundle/1.0/config/packages/webpack_encore.yaml @@ -2,3 +2,7 @@ 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%'