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

Disable webpacker stylesheet errors in production #204

Merged
merged 1 commit into from
Aug 18, 2021
Merged

Commits on Aug 18, 2021

  1. Use webpack extract_css: true all of the time

    Webpacker has a nasty habit of not compiling css files for components and then causing an error in production when they are missing.
    rails/webpacker#2342
    rails/webpacker#2059 (comment)
    
    Unfortunately using extract_css: true all the time apparently comes with some performance impacts, however the tradeoff is the application actually works correctly in development mode.
    Robert Clark committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    f036f6c View commit details
    Browse the repository at this point in the history