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
42 lines
956 B
# Note: You must restart bin/webpack-dev-server for changes to take effect
|
|
|
|
default: &default
|
|
source_path: app/javascript
|
|
public_output_path: packs
|
|
cache_path: tmp/cache/webpacker
|
|
|
|
# Additional paths webpack should lookup modules
|
|
# ['app/assets', 'engine/foo/app/assets']
|
|
resolved_paths: []
|
|
|
|
# Reload manifest.json on all requests so we reload latest compiled packs
|
|
cache_manifest: false
|
|
|
|
development:
|
|
<<: *default
|
|
compile: true
|
|
|
|
dev_server:
|
|
host: localhost
|
|
port: 3035
|
|
hmr: false
|
|
https: false
|
|
|
|
test:
|
|
<<: *default
|
|
|
|
# Compile test packs to a separate directory
|
|
public_output_path: packs-test
|
|
|
|
# CircleCI precompiles packs prior to running the tests.
|
|
# Also avoids race conditions in parallel_tests.
|
|
compile: false
|
|
|
|
production:
|
|
<<: *default
|
|
|
|
# Production depends on precompilation of packs prior to booting for performance.
|
|
compile: false
|
|
|
|
# Cache manifest.json for performance
|
|
cache_manifest: true
|
|
|