Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how jsbundling-rails compares to webpacker #20

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

rmacklin
Copy link
Contributor

With webpacker previously becoming the default JavaScript bundler in Rails, I suspect many folks are going to come to the jsbundling-rails project wondering how the two compare.

With that in mind, I think it would be useful to document some of the differences that will help developers decide if they want to migrate to jsbundling-rails or stick with webpacker. This PR is a basic attempt to do that :)

Something else that could be useful is some sort of migration guide, but I don't intend to include something that specific in this PR, especially given that things are still in flux (this gem is still pre-1.0, and webpacker appears to be nearing a new major version release).

@dhh
Copy link
Member

dhh commented Sep 11, 2021

Good guide. Let's split it out into a separate file, then link to that file from the README 👍

@rmacklin rmacklin force-pushed the document-comparison-to-webpacker branch from f193d7d to fadf9f8 Compare September 11, 2021 14:55
@rmacklin
Copy link
Contributor Author

Created a new docs directory and moved the content to a new file there which is linked from the README.

With `webpacker` previously becoming the default JavaScript bundler in
Rails (https://weblog.rubyonrails.org/2019/8/15/Rails-6-0-final-release)
it's likely many folks are going to come to the `jsbundling-rails`
project wondering how the two compare. So let's document some of the
differences that will help developers decide if they want to migrate
to `jsbundling-rails` or stick with `webpacker`.
@rmacklin rmacklin force-pushed the document-comparison-to-webpacker branch 3 times, most recently from 29ea548 to bfea816 Compare September 11, 2021 18:45
@dhh dhh merged commit bf2bad4 into rails:main Sep 13, 2021
@rmacklin rmacklin deleted the document-comparison-to-webpacker branch September 13, 2021 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants