webpacker

https://github.com/rails/webpacker

Ruby

Use Webpack to manage app-like JavaScript modules in Rails

Webpacker::Compiler#webpacker

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:rails/webpacker.git

cd webpacker

open lib/webpacker/compiler.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Webpacker--Compiler-webpacker-for-pr


# Commit to git

git add lib/webpacker/compiler.rbgit commit -m "better docs for Webpacker::Compiler#webpacker"


# 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--Compiler-webpacker-for-pr

hub pull-request


# Celebrate!