1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-11 13:18:18 +09:00
mastodon/config/webpacker.yml
Nolan Lawson 968354923e Fix webpack-dev-server on Windows (#4000)
* Fix webpack-dev-server on Windows

* Serve webpack from 0.0.0.0, access at 127.0.0.1
2017-06-30 13:43:26 +02:00

33 lines
474 B
YAML

# 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