闭社主体 forked from https://github.com/tootsuite/mastodon
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.

50 lines
971 B

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