diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2017-06-18 09:57:09 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-18 02:57:09 +0200 |
commit | 53e42bf91ef2c705168f8d04b9374c349ec14074 (patch) | |
tree | 564d8607ee6fd7ac27979d157b261c038e9fad61 /config/webpacker.yml | |
parent | 94d0e012dea89058b9c059636fb6d42f6565e534 (diff) |
Upgrade Webpacker to version 2.0 (#3729)
Diffstat (limited to 'config/webpacker.yml')
-rw-r--r-- | config/webpacker.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/config/webpacker.yml b/config/webpacker.yml new file mode 100644 index 000000000..c1cd6e93b --- /dev/null +++ b/config/webpacker.yml @@ -0,0 +1,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: 0.0.0.0 + port: 8080 + https: false + +test: + <<: *default + + public_output_path: packs-test + +production: + <<: *default |