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.

38 lines
828 B

  1. # Note: You must restart bin/webpack-dev-server for changes to take effect
  2. default: &default
  3. source_path: app/javascript
  4. public_output_path: packs
  5. cache_path: tmp/cache/webpacker
  6. # Additional paths webpack should lookup modules
  7. # ['app/assets', 'engine/foo/app/assets']
  8. resolved_paths: []
  9. # Reload manifest.json on all requests so we reload latest compiled packs
  10. cache_manifest: false
  11. development:
  12. <<: *default
  13. compile: true
  14. dev_server:
  15. host: localhost
  16. port: 3035
  17. hmr: false
  18. https: false
  19. test:
  20. <<: *default
  21. # Compile test packs to a separate directory
  22. public_output_path: packs-test
  23. production:
  24. <<: *default
  25. # Production depends on precompilation of packs prior to booting for performance.
  26. compile: false
  27. # Cache manifest.json for performance
  28. cache_manifest: true