-
Notifications
You must be signed in to change notification settings - Fork 746
Expand file tree
/
Copy pathshakapacker.yml
More file actions
45 lines (35 loc) · 932 Bytes
/
shakapacker.yml
File metadata and controls
45 lines (35 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Note: You must restart bin/webpack-dev-server for changes to take effect
default: &default
source_path: app/javascript
source_entry_path: packs
public_output_path: packs
cache_path: tmp/cache/shakapacker
assets_bundler: webpack
javascript_transpiler: babel
# 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: 8080
hmr: false
https: false
test:
<<: *default
compile: true
dev_server:
host: localhost
port: 8080
hmr: false
https: false
production:
<<: *default
# Production depends on precompilation of packs prior to booting for performance.
compile: false
# Cache manifest.json for performance
cache_manifest: true