about summary refs log tree commit diff
path: root/config/webpacker.yml
blob: aa429a1ddac44a1392cbb9abc645189ea0b12735 (plain) (blame)
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
# 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
  extensions:
    - .js
    - .sass
    - .scss
    - .css
    - .png
    - .svg
    - .gif
    - .jpeg
    - .jpg

development:
  <<: *default

  dev_server:
    host: 127.0.0.1
    port: 8080
    https: false

test:
  <<: *default

  public_output_path: packs-test

production:
  <<: *default