From 9257f1ad9de6c5cc8d949ee8330faae386214708 Mon Sep 17 00:00:00 2001 From: udf2457 Date: Tue, 5 Jul 2022 14:52:02 +0100 Subject: [PATCH] Update webpack_encore.yaml Suggestion --- .../1.10/config/packages/webpack_encore.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/symfony/webpack-encore-bundle/1.10/config/packages/webpack_encore.yaml b/symfony/webpack-encore-bundle/1.10/config/packages/webpack_encore.yaml index 46834f0c9..757cf8520 100644 --- a/symfony/webpack-encore-bundle/1.10/config/packages/webpack_encore.yaml +++ b/symfony/webpack-encore-bundle/1.10/config/packages/webpack_encore.yaml @@ -3,6 +3,9 @@ webpack_encore: output_path: '%kernel.project_dir%/public/build' # If multiple builds are defined (as shown below), you can disable the default build: # output_path: false + + # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials') + # crossorigin: 'anonymous' # Set attributes that will be rendered on all script and link tags script_attributes: @@ -14,9 +17,6 @@ webpack_encore: # Uncomment if using Turbo Drive # 'data-turbo-track': reload - # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials') - # crossorigin: 'anonymous' - # Preload all rendered script and link tags automatically via the HTTP/2 Link header # preload: true