https://github.com/rails/webpacker
Use Webpack to manage app-like JavaScript modules in Rails
https://github.com/rails/webpacker
Keywords
frontend hacktoberfest javascript rails webpack yarn
Keywords from Contributors
activerecord mvc activejob rubygems rack rubocop static-code-analysis code-formatter crash-reporting rspec
Last synced: about 11 hours ago
JSON representation
Repository metadata
Use Webpack to manage app-like JavaScript modules in Rails
- Host: GitHub
- URL: https://github.com/rails/webpacker
- Owner: rails
- License: mit
- Created: 2016-12-07T00:55:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-16T12:30:22.000Z (over 1 year ago)
- Last Synced: 2025-11-27T17:13:47.269Z (13 days ago)
- Topics: frontend, hacktoberfest, javascript, rails, webpack, yarn
- Language: Ruby
- Homepage:
- Size: 5.21 MB
- Stars: 5,292
- Watchers: 116
- Forks: 1,460
- Open Issues: 21
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: MIT-LICENSE
README.md
Webpacker has been retired 🌅
Webpacker has served the Rails community for over five years as a bridge to compiled and bundled JavaScript. This bridge is no longer needed for most people in most situations following the release of Rails 7. We now have three great default answers to JavaScript in 2021+, and thus we will no longer be evolving Webpacker in an official Rails capacity.
For applications currently using Webpacker, the first recommendation is to switch to jsbundling-rails with Webpack (or another bundler). You can follow the switching guide, if you choose this option.
Secondly, you may want to try making the jump all the way to import maps. That's the default setup for new Rails 7 applications, but depending on your JavaScript use, it may be a substantial jump.
Finally, you can continue to use Webpacker as-is. We will continue to address security issues on the Ruby side of the gem according to the normal maintenance schedule of Rails. But we will not be updating the gem to include newer versions of the JavaScript libraries. This pertains to the v5 edition of this gem that was included by default with previous versions of Rails.
The development of v6 will not result in an official gem released by the Rails team nor see any future support. But Justin Gordon is continuing that line of development – including a focus on hot-module reloading features etc – under a new gem called Shakapacker that is based on the unreleased v6 work from this repository.
Thank you to everyone who has contributed to Webpacker over the last five-plus years!
Please refer to the 5-x-stable branch for 5.x documentation.
Owner metadata
- Name: Ruby on Rails
- Login: rails
- Email:
- Kind: organization
- Description:
- Website: https://rubyonrails.org/
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/4223?v=4
- Repositories: 116
- Last ynced at: 2023-04-09T03:40:20.529Z
- Profile URL: https://github.com/rails
GitHub Events
Total
- Issues event: 1
- Watch event: 19
- Issue comment event: 10
- Pull request event: 1
- Fork event: 12
Last Year
- Watch event: 14
- Issue comment event: 7
- Pull request event: 1
- Fork event: 9
Committers metadata
Last synced: 4 days ago
Total Commits: 1,368
Total Committers: 451
Avg Commits per committer: 3.033
Development Distribution Score (DDS): 0.81
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Gaurav Tiwari | g****i | 260 |
| David Heinemeier Hansson | d****d@l****m | 82 |
| Justin Gordon | j****n@g****m | 57 |
| Javan Makhmali | j****n@j****s | 49 |
| dependabot[bot] | 4****] | 45 |
| Ross Kaffenberger | r****f@g****m | 38 |
| Guillermo Iguaran | g****n@g****m | 37 |
| yhirano55 | y****o@m****m | 26 |
| Pavel Pustovalov | p****l@g****m | 25 |
| Bryan Lim | y****n | 19 |
| Guillaume Briday | g****y@g****m | 19 |
| Anton Rieder | 1****r | 18 |
| sandip mondal | s****5@y****n | 14 |
| Long Nguyen | l****t@g****m | 13 |
| Ryunosuke Sato | t****s@g****m | 10 |
| Jake Niemiec | j****c@g****m | 10 |
| Akira Matsuda | r****e@d****p | 7 |
| Max Schwenk | m****k@g****m | 7 |
| Vladimir Dementyev | d****m@g****m | 7 |
| lazylester | c****r@c****t | 7 |
| Sharang Dashputre | s****g@b****m | 7 |
| Alexander Merkulov | s****a@m****u | 6 |
| Peter Schilling | p****r@p****g | 6 |
| Renaud Chaput | r****p@g****m | 6 |
| Stefan Wrobel | s****l | 6 |
| Tsukuru Tanimichi | i****b@t****m | 6 |
| Brian Case | b****e@d****m | 5 |
| Olle Jonsson | o****n@g****m | 5 |
| Anton Topchii | p****1@i****t | 5 |
| Markus Doits | d****s | 5 |
| and 421 more... | ||
Committer domains:
- me.com: 4
- prudentiadigital.com: 1
- erichayes.net: 1
- blat.es: 1
- usertesting.com: 1
- orourke.io: 1
- brunoarueira.com: 1
- bonamin.org: 1
- ted.com: 1
- moneyforward.co.jp: 1
- luppri.ch: 1
- corywmcdonald.com: 1
- hypothetical.com.au: 1
- appfolio.com: 1
- liveoak.net: 1
- carisenda.com: 1
- sunfox.org: 1
- hey.com: 1
- uni-bremen.de: 1
- quipper.com: 1
- envisionapp.com: 1
- sonicgarden.jp: 1
- callrail.com: 1
- botanicus.me: 1
- quikly.com: 1
- easybills.io: 1
- hyfn.com: 1
- andela.com: 1
- betterment.com: 1
- alecrust.com: 1
- getabetterpic.com: 1
- joyvuu.com: 1
- kpumuk.info: 1
- actbluetech.com: 1
- boehs.com: 1
- toshimaru.net: 1
- clio.com: 1
- ojab.ru: 1
- tai2.net: 1
- cookpad.com: 1
- jonathanmoss.me: 1
- nicolasblanco.fr: 1
- loudbase.com: 1
- infinitevoid.net: 1
- dotandbo.com: 1
- ttanimichi.com: 1
- peterschilling.org: 1
- merqlove.ru: 1
- bigbinary.com: 1
- comcast.net: 1
- dio.jp: 1
- yahoo.co.in: 1
- javan.us: 1
- yvo.net: 1
- gavinanthony.com: 1
- ezuk.org: 1
- coding-robin.de: 1
- franca.dev: 1
- gdi2290.com: 1
- mattjonker.com: 1
- jaredmoody.com: 1
- nerdcave.com: 1
- ksylvest.com: 1
- juliantrueflynn.com: 1
- sjackson.net: 1
- hashref.com: 1
- datapweb.de: 1
- free.fr: 1
- jaredbeck.com: 1
- dorianmarie.fr: 1
- henryzoo.com: 1
- nyh.se: 1
- hotmail.co.uk: 1
- antiflux.org: 1
- ensquared.net: 1
- mail.co.de: 1
- justincoyne.com: 1
- cure.lt: 1
- iki.fi: 1
- jmccc.com: 1
- kenhub.com: 1
- jevon.org: 1
- brownwebdesign.com: 1
- heliosdev.shop: 1
- jaredwhite.com: 1
- habermann.io: 1
- flippakitten.com: 1
- yandex.ru: 1
- rwth-aachen.de: 1
- epicteams.com: 1
- marcrohloff.com: 1
- paren.com: 1
- shevtsov.me: 1
- kucharski.net.pl: 1
- jonathanleighton.com: 1
- uchi.ru: 1
- airshaper.com: 1
- cipherhealth.com: 1
- risen.be: 1
- brnbw.com: 1
- vasto.la: 1
- michsch.de: 1
- matt-m.co.uk: 1
- mattpotter.co.uk: 1
- innovaptor.com: 1
- rslw.com: 1
- zillowgroup.com: 1
- aleksejleonov.com: 1
- tobiasmaier.info: 1
- taytay.com: 1
- harmanly.com: 1
- sfcgeorge.co.uk: 1
- tsuyabu.in: 1
- freeatnet.com: 1
- izumin.info: 1
- 5minutenpause.com: 1
- andydust.com: 1
- deeco.dk: 1
- ctrip.com: 1
- yahoo.com.tw: 1
- fullstacklabs.co: 1
- pivotal.io: 1
- loudthinking.com: 1
- jacksonrayhamilton.com: 1
- about-hiroppy.com: 1
- bayprogrammer.com: 1
- pasosdejesus.org: 1
- lunatic.cat: 1
- tylerrick.com: 1
- oiax.jp: 1
- crafted.ch: 1
- iprog.com: 1
- nrm.com: 1
- returnly.com: 1
- fouchard.org: 1
- intertwingly.net: 1
- marder.co: 1
- chalk.com: 1
- fastmail.fm: 1
- qmoya.com: 1
- deheus.net: 1
Issue and Pull Request metadata
Last synced: about 1 month ago
Total issues: 83
Total pull requests: 90
Average time to close issues: 6 months
Average time to close pull requests: about 2 months
Total issue authors: 82
Total pull request authors: 28
Average comments per issue: 10.23
Average comments per pull request: 0.86
Merged pull request: 44
Bot issues: 0
Bot pull requests: 43
Past year issues: 1
Past year pull requests: 2
Past year average time to close issues: N/A
Past year average time to close pull requests: 6 months
Past year issue authors: 1
Past year pull request authors: 1
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.5
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- scottrobertson (2)
- djforth (1)
- lrjbrual (1)
- ycrepeau (1)
- fitchMitch (1)
- JoshRobertson (1)
- timscott (1)
- dmbrooking (1)
- LeeRenJie (1)
- tchret (1)
- dmix (1)
- luispcosta (1)
- FFEVER (1)
- jkacmaz93 (1)
- dyeje (1)
Top Pull Request Authors
- dependabot[bot] (43)
- justin808 (10)
- shanshaji (4)
- amatsuda (3)
- springerigor (2)
- jm-janzen (2)
- k111m (2)
- haukot (2)
- naveensrinivasan (2)
- rajeevkannav (2)
- edslocomb (1)
- TomasBarry (1)
- guillaumebriday (1)
- sharang-d (1)
- gauravtiwari (1)
Top Issue Labels
- bug (14)
- enhancement (3)
- support (2)
- file loaders (1)
- docs (1)
- webpack (1)
- dependencies (1)
- docker/VM (1)
- babel/coreJs (1)
Top Pull Request Labels
- dependencies (43)
- ruby (22)
- javascript (14)
- github_actions (4)
Package metadata
- Total packages: 10
-
Total downloads:
- npm: 793,156 last-month
- rubygems: 182,635,858 total
- Total docker downloads: 67,126,971
- Total dependent packages: 146 (may contain duplicates)
- Total dependent repositories: 237,208 (may contain duplicates)
- Total versions: 288
- Total maintainers: 25
gem.coop: webpacker
Use webpack to manage app-like JavaScript modules in Rails
- Homepage: https://github.com/rails/webpacker
- Documentation: http://www.rubydoc.info/gems/webpacker/
- Licenses: MIT
- Latest release: 5.4.4 (published almost 3 years ago)
- Last Synced: 2025-12-06T13:02:05.705Z (4 days ago)
- Versions: 78
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 91,313,380 Total
- Docker Downloads: 24,507,374
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Downloads: 0.268%
- Average: 0.27%
- Docker downloads count: 0.814%
- Maintainers (13)
rubygems.org: webpacker
Use webpack to manage app-like JavaScript modules in Rails
- Homepage: https://github.com/rails/webpacker
- Documentation: http://www.rubydoc.info/gems/webpacker/
- Licenses: MIT
- Latest release: 5.4.4 (published almost 3 years ago)
- Last Synced: 2025-12-06T13:31:44.182Z (4 days ago)
- Versions: 78
- Dependent Packages: 111
- Dependent Repositories: 120,458
- Downloads: 91,313,380 Total
- Docker Downloads: 24,507,374
-
Rankings:
- Dependent repos count: 0.111%
- Forks count: 0.148%
- Downloads: 0.225%
- Stargazers count: 0.23%
- Dependent packages count: 0.297%
- Average: 0.354%
- Docker downloads count: 1.11%
- Maintainers (13)
npmjs.org: @rails/webpacker
Use webpack to manage app-like JavaScript modules in Rails
- Homepage: https://github.com/rails/webpacker
- Licenses: MIT
- Latest release: 5.4.4 (published almost 3 years ago)
- Last Synced: 2025-12-05T22:31:04.668Z (5 days ago)
- Versions: 73
- Dependent Packages: 31
- Dependent Repositories: 116,748
- Downloads: 793,149 Last month
- Docker Downloads: 18,112,223
-
Rankings:
- Dependent repos count: 0.091%
- Downloads: 0.207%
- Docker downloads count: 0.259%
- Average: 0.614%
- Dependent packages count: 0.839%
- Forks count: 0.99%
- Stargazers count: 1.296%
- Maintainers (9)
proxy.golang.org: github.com/rails/webpacker
- Homepage:
- Documentation: https://pkg.go.dev/github.com/rails/webpacker#section-documentation
- Licenses: mit
- Latest release: v5.4.4+incompatible (published almost 3 years ago)
- Last Synced: 2025-12-04T22:03:41.859Z (6 days ago)
- Versions: 49
- Dependent Packages: 0
- Dependent Repositories: 1
-
Rankings:
- Forks count: 0.632%
- Stargazers count: 0.91%
- Average: 3.953%
- Dependent repos count: 4.717%
- Dependent packages count: 9.553%
npmjs.org: @jaanuu/webpacker
Use webpack to manage app-like JavaScript modules in Rails
- Homepage: https://github.com/rails/webpacker
- Licenses: MIT
- Latest release: 3.6.0-sassfix (published almost 4 years ago)
- Last Synced: 2025-12-04T22:03:43.756Z (6 days ago)
- Versions: 1
- Dependent Packages: 1
- Dependent Repositories: 0
- Downloads: 2 Last month
-
Rankings:
- Forks count: 1.188%
- Stargazers count: 1.587%
- Average: 12.191%
- Dependent packages count: 16.224%
- Downloads: 16.626%
- Dependent repos count: 25.328%
- Maintainers (1)
npmjs.org: @pedrofurtado/webpacker
Use webpack to manage app-like JavaScript modules in Rails
- Homepage: https://github.com/rails/webpacker
- Licenses: MIT
- Latest release: 5.4.0-patched2 (published over 4 years ago)
- Last Synced: 2025-12-04T22:03:44.130Z (6 days ago)
- Versions: 2
- Dependent Packages: 2
- Dependent Repositories: 0
- Downloads: 1 Last month
-
Rankings:
- Forks count: 1.188%
- Stargazers count: 1.587%
- Dependent packages count: 9.482%
- Average: 14.967%
- Dependent repos count: 25.328%
- Downloads: 37.249%
- Maintainers (1)
repo1.maven.org: org.webjars.npm:rails__webpacker
WebJar for @rails/webpacker
- Homepage: https://www.webjars.org
- Documentation: https://appdoc.app/artifact/org.webjars.npm/rails__webpacker/
- Licenses: MIT
- Latest release: 6.0.0-pre.2 (published almost 5 years ago)
- Last Synced: 2025-12-04T22:03:43.439Z (6 days ago)
- Versions: 1
- Dependent Packages: 1
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 3.188%
- Forks count: 3.242%
- Average: 17.602%
- Dependent repos count: 31.98%
- Dependent packages count: 31.998%
npmjs.org: webpacker-scripts
Use Webpack to manage app-like JavaScript modules in Rails
- Homepage: https://github.com/rails/webpacker
- Licenses: MIT
- Latest release: 1.1.7 (published over 8 years ago)
- Last Synced: 2024-11-18T11:00:39.863Z (about 1 year ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 1
- Downloads: 4 Last month
-
Rankings:
- Forks count: 0.991%
- Stargazers count: 1.31%
- Dependent repos count: 10.324%
- Average: 22.088%
- Downloads: 45.851%
- Dependent packages count: 51.966%
- Maintainers (1)
gem.coop: webpacker-react-on-rails
Use Webpack to manage app-like JavaScript modules in Rails
- Homepage: https://github.com/rails/webpacker
- Documentation: http://www.rubydoc.info/gems/webpacker-react-on-rails/
- Licenses: MIT
- Latest release: 3.0.0.rc.1 (published over 8 years ago)
- Last Synced: 2025-12-04T22:03:41.630Z (6 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 4,549 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 24.177%
- Downloads: 72.531%
- Maintainers (1)
rubygems.org: webpacker-react-on-rails
Use Webpack to manage app-like JavaScript modules in Rails
- Homepage: https://github.com/rails/webpacker
- Documentation: http://www.rubydoc.info/gems/webpacker-react-on-rails/
- Licenses: MIT
- Latest release: 3.0.0.rc.1 (published over 8 years ago)
- Last Synced: 2025-12-04T22:03:44.760Z (6 days ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 4,549 Total
-
Rankings:
- Forks count: 0.123%
- Stargazers count: 0.191%
- Dependent packages count: 15.706%
- Average: 28.173%
- Dependent repos count: 46.782%
- Downloads: 78.062%
- Maintainers (1)
Dependencies
- eslint ^7.32.0 development
- eslint-config-airbnb ^18.2.1 development
- eslint-config-prettier ^8.3.0 development
- eslint-plugin-import ^2.24.2 development
- eslint-plugin-jsx-a11y ^6.4.1 development
- eslint-plugin-react ^7.26.0 development
- jest ^27.2.1 development
- @babel/core ^7.15.5
- @babel/plugin-transform-runtime ^7.15.0
- @babel/preset-env ^7.15.6
- @babel/runtime ^7.15.4
- babel-loader ^8.2.2
- compression-webpack-plugin ^9.0.0
- glob ^7.2.0
- js-yaml ^4.1.0
- path-complete-extname ^1.0.0
- pnp-webpack-plugin ^1.7.0
- terser-webpack-plugin ^5.2.4
- webpack ^5.53.0
- webpack-assets-manifest ^5.0.6
- webpack-cli ^4.8.0
- webpack-merge ^5.8.0
- webpack-sources ^3.2.1
- @rails/webpacker file:../../../../
- right-pad ^1.0.1 development
- left-pad ^1.2.0
- left-pad 1.2.0
- right-pad 1.0.1
- 623 dependencies
- byebug >= 0 development
- minitest ~> 5.0 development
- rack-proxy >= 0
- rails >= 0
- rake >= 11.1
- semantic_range >= 0
- actioncable 6.1.4.1
- actionmailbox 6.1.4.1
- actionmailer 6.1.4.1
- actionpack 6.1.4.1
- actiontext 6.1.4.1
- actionview 6.1.4.1
- activejob 6.1.4.1
- activemodel 6.1.4.1
- activerecord 6.1.4.1
- activestorage 6.1.4.1
- activesupport 6.1.4.1
- ast 2.4.2
- builder 3.2.4
- byebug 11.1.3
- concurrent-ruby 1.1.9
- crass 1.0.6
- erubi 1.10.0
- globalid 0.5.2
- i18n 1.8.10
- loofah 2.18.0
- mail 2.7.1
- marcel 1.0.2
- method_source 1.0.0
- mini_mime 1.1.1
- mini_portile2 2.8.0
- minitest 5.14.4
- nio4r 2.5.8
- nokogiri 1.13.6
- parallel 1.21.0
- parser 3.0.2.0
- racc 1.6.0
- rack 2.2.3.1
- rack-proxy 0.7.0
- rack-test 1.1.0
- rails 6.1.4.1
- rails-dom-testing 2.0.3
- rails-html-sanitizer 1.4.3
- railties 6.1.4.1
- rainbow 3.0.0
- rake 13.0.6
- regexp_parser 2.1.1
- rexml 3.2.5
- rubocop 1.21.0
- rubocop-ast 1.11.0
- rubocop-performance 1.11.5
- ruby-progressbar 1.11.0
- semantic_range 3.0.0
- sprockets 4.0.2
- sprockets-rails 3.2.2
- thor 1.1.0
- tzinfo 2.0.4
- unicode-display_width 2.1.0
- webpacker 6.0.0.rc.6
- websocket-driver 0.7.5
- websocket-extensions 0.1.5
- zeitwerk 2.4.2
- bundler >= 1.3.0 development
- rubocop >= 0 development
- rubocop-performance >= 0 development
- activesupport >= 5.2
- rack-proxy >= 0.6.1
- railties >= 5.2
- semantic_range >= 2.3.0
- actions/checkout v3 composite
- actions/setup-node v3 composite
- actions/checkout v3 composite
- actions/setup-node v3 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- ruby/setup-ruby v1 composite
- actions/checkout v3 composite
- ruby/setup-ruby v1 composite
Score: 34.02952138198389