webpacker

https://github.com/rails/webpacker

Ruby

Use Webpack to manage app-like JavaScript modules in Rails

Webpacker::DevServer#env_prefix

No Docs, write some!

Source | Google | Stack overflow

Edit

$ git clone [email protected]:rails/webpacker.git
$ cd webpacker
$ open lib/webpacker/dev_server.rb

Contribute

# Make a new branch
$ git checkout -b -your-name--update-docs-Webpacker--DevServer-env_prefix-for-pr

# Commit to git
$ git add lib/webpacker/dev_server.rb
$ git commit -m "better docs for Webpacker::DevServer#env_prefix"

# Open pull request
$ gem install hub # on a mac you can `brew install hub`
$ hub fork
$ git push <your name> -your-name--update-docs-Webpacker--DevServer-env_prefix-for-pr
$ hub pull-request

# Celebrate!