You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.2KB

  1. webpack_encore:
  2. # The path where Encore is building the assets - i.e. Encore.setOutputPath()
  3. output_path: '%kernel.project_dir%/public/build'
  4. # If multiple builds are defined (as shown below), you can disable the default build:
  5. # output_path: false
  6. # Set attributes that will be rendered on all script and link tags
  7. script_attributes:
  8. defer: false
  9. # link_attributes:
  10. # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')
  11. # crossorigin: 'anonymous'
  12. # Preload all rendered script and link tags automatically via the HTTP/2 Link header
  13. # preload: true
  14. # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data
  15. # strict_mode: false
  16. # If you have multiple builds:
  17. # builds:
  18. # pass "frontend" as the 3rg arg to the Twig functions
  19. # {{ encore_entry_script_tags('entry1', null, 'frontend') }}
  20. # frontend: '%kernel.project_dir%/public/frontend/build'
  21. # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
  22. # Put in config/packages/prod/webpack_encore.yaml
  23. # cache: true