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

Fix Webpacker helpers in production env #837

Merged
merged 1 commit into from
Jun 4, 2019

Commits on May 29, 2019

  1. Fix Webpacker helpers in production env

    `Rails.configuration.assets` will be undefined if asset pipeline is not being used, which leads to an error why trying to check the value of `assets.compile`.
    
    This is primarily a problem when using the webpacker helpers (b/c no sprockets) and only in non-dev environments (b/c this logic gets short-circuited if there's a webpack dev server running.)
    dleavitt committed May 29, 2019
    Configuration menu
    Copy the full SHA
    0086af9 View commit details
    Browse the repository at this point in the history