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.

42 lines
956 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. # CircleCI precompiles packs prior to running the tests.
  24. # Also avoids race conditions in parallel_tests.
  25. compile: false
  26. production:
  27. <<: *default
  28. # Production depends on precompilation of packs prior to booting for performance.
  29. compile: false
  30. # Cache manifest.json for performance
  31. cache_manifest: true