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

Refactor singleton usage and make it possible to use with engines #1836

Merged
merged 7 commits into from
Dec 19, 2018
Merged

Refactor singleton usage and make it possible to use with engines #1836

merged 7 commits into from
Dec 19, 2018

Conversation

palkan
Copy link
Contributor

@palkan palkan commented Dec 15, 2018

Replaces #1808.

Added docs on how to use Webpacker from Rails engine.

@palkan palkan mentioned this pull request Dec 15, 2018
# Returns current Webpacker instance.
# Could be overriden to use multiple Webpacker
# configurations within the same app (e.g. with engines)
def current_webpacker
Copy link
Member

@gauravtiwari gauravtiwari Dec 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps, let's call it current_webpacker_instance just to be clear, current_webpacker doesn't make sense. What do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@michalgritzbach
Copy link

Any plans on merging this?

@gauravtiwari gauravtiwari merged commit 3d4b7b3 into rails:master Dec 19, 2018
@gauravtiwari
Copy link
Member

Thanks @palkan 🙏 sorry it took me a while to merge

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.

3 participants