Left file: appwork-v1_5_2/rails-starter/config/webpacker.yml  
Right file: appwork-v1_6_0/rails-starter/config/webpacker.yml  
1 # Note: You must restart bin/webpack-dev-server for changes to take effect = 1 # Note: You must restart bin/webpack-dev-server for changes to take effect
2     2  
3 default: &default   3 default: &default
4   source_path: app/javascript   4   source_path: app/javascript
5   source_entry_path: packs   5   source_entry_path: packs
6   public_root_path: public   6   public_root_path: public
7   public_output_path: packs   7   public_output_path: packs
8   cache_path: tmp/cache/webpacker   8   cache_path: tmp/cache/webpacker
9   check_yarn_integrity: false   9   check_yarn_integrity: false
10   webpack_compile_output: false   10   webpack_compile_output: false
11     11  
12   # Additional paths webpack should lookup modules   12   # Additional paths webpack should lookup modules
13   # ['app/assets', 'engine/foo/app/assets']   13   # ['app/assets', 'engine/foo/app/assets']
14   resolved_paths: [ <> 14   additional_paths: [
15     'vendor/assets' = 15     'vendor/assets'
16   ]   16   ]
17     17  
18   # Reload manifest.json on all requests so we reload latest compiled packs   18   # Reload manifest.json on all requests so we reload latest compiled packs
19   cache_manifest: false   19   cache_manifest: false
20     20  
21   # Extract and emit a css file   21   # Extract and emit a css file
22   extract_css: true   22   extract_css: true
23     23  
24   static_assets_extensions:   24   static_assets_extensions:
25     - .jpg   25     - .jpg
26     - .jpeg   26     - .jpeg
27     - .png   27     - .png
28     - .gif   28     - .gif
29     - .tiff   29     - .tiff
30     - .ico   30     - .ico
31     - .svg   31     - .svg
32     - .eot   32     - .eot
33     - .otf   33     - .otf
34     - .ttf   34     - .ttf
35     - .woff   35     - .woff
36     - .woff2   36     - .woff2
37     37  
38   extensions:   38   extensions:
39     - .mjs   39     - .mjs
40     - .js   40     - .js
41     - .sass   41     - .sass
42     - .scss   42     - .scss
43     - .css   43     - .css
44     - .module.sass   44     - .module.sass
45     - .module.scss   45     - .module.scss
46     - .module.css   46     - .module.css
47     - .png   47     - .png
48     - .svg   48     - .svg
49     - .gif   49     - .gif
50     - .jpeg   50     - .jpeg
51     - .jpg   51     - .jpg
52     52  
53 development:   53 development:
54   <<: *default   54   <<: *default
55   compile: true   55   compile: true
56     56  
57   # Verifies that correct packages and versions are installed by inspecting package.json, yarn.lock, and node_modules   57   # Verifies that correct packages and versions are installed by inspecting package.json, yarn.lock, and node_modules
58   check_yarn_integrity: true   58   check_yarn_integrity: true
59     59  
60   # Reference: https://webpack.js.org/configuration/dev-server/   60   # Reference: https://webpack.js.org/configuration/dev-server/
61   dev_server:   61   dev_server:
62     https: false   62     https: false
63     host: localhost   63     host: localhost
64     port: 3035   64     port: 3035
65     public: localhost:3035   65     public: localhost:3035
66     hmr: false   66     hmr: false
67     # Inline should be set to true if using HMR   67     # Inline should be set to true if using HMR
68     inline: true   68     inline: true
69     overlay: true   69     overlay: true
70     compress: true   70     compress: true
71     disable_host_check: true   71     disable_host_check: true
72     use_local_ip: false   72     use_local_ip: false
73     quiet: false   73     quiet: false
    -+ 74     pretty: false
74     headers: = 75     headers:
75       'Access-Control-Allow-Origin': '*'   76       'Access-Control-Allow-Origin': '*'
76     watch_options:   77     watch_options:
77       ignored: '**/node_modules/**'   78       ignored: '**/node_modules/**'
78     79  
79     80  
80 test:   81 test:
81   <<: *default   82   <<: *default
82   compile: true   83   compile: true
83     84  
84   # Compile test packs to a separate directory   85   # Compile test packs to a separate directory
85   public_output_path: packs-test   86   public_output_path: packs-test
86     87  
87 production:   88 production:
88   <<: *default   89   <<: *default
89     90  
90   # Production depends on precompilation of packs prior to booting for performance.   91   # Production depends on precompilation of packs prior to booting for performance.
91   compile: false   92   compile: false
92     93  
93   # Cache manifest.json for performance   94   # Cache manifest.json for performance
94   cache_manifest: true   95   cache_manifest: true
95     96  
96   webpack_compile_output: true   97   webpack_compile_output: true