From 4b27454bcb9bccc023174b2bd8053ff354d7e925 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 17 Dec 2025 09:55:49 +0100 Subject: [PATCH] Remove webpack_encore configuration --- config/packages/webpack_encore.yaml | 41 ----------------------------- 1 file changed, 41 deletions(-) delete mode 100644 config/packages/webpack_encore.yaml diff --git a/config/packages/webpack_encore.yaml b/config/packages/webpack_encore.yaml deleted file mode 100644 index 476246aec..000000000 --- a/config/packages/webpack_encore.yaml +++ /dev/null @@ -1,41 +0,0 @@ -webpack_encore: - # The path where Encore is building the assets - i.e. Encore.setOutputPath() - output_path: '%kernel.project_dir%/public/build' - # If multiple builds are defined (as shown below), you can disable the default build: - # output_path: false - - # Set attributes that will be rendered on all script and link tags - script_attributes: - defer: true - # Uncomment (also under link_attributes) if using Turbo Drive - # https://turbo.hotwired.dev/handbook/drive#reloading-when-assets-change - # 'data-turbo-track': reload - # link_attributes: - # 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 - - # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data - # strict_mode: false - - # If you have multiple builds: - # builds: - # frontend: '%kernel.project_dir%/public/frontend/build' - - # pass the build name as the 3rd argument to the Twig functions - # {{ encore_entry_script_tags('entry1', null, 'frontend') }} - -#when@prod: -# webpack_encore: -# # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes) -# # Available in version 1.2 -# cache: true - -when@test: - webpack_encore: - strict_mode: false