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

Update how we compile our assets #4363

Merged
merged 1 commit into from
Jun 10, 2024
Merged

Commits on Jun 10, 2024

  1. I’ve updated how our assets work, both CSS and JavaScript.

    For CSS I’ve made use of [CSS Bundling for Rails](https:/rails/cssbundling-rails) with Dart Sass to compile our css (this did not require much change).
    
    More importantly, I’ve migrated from Webpack and Shakapacker to use Rollup to compile our Javascript. Our JavaScript setup is not that complicated and configuring and updating webpacker has been a
    pain point. Rollup is more simple to configure, is faster and the only downside is that we no longer get automatic page reloads when we make changes.
    
    I’ve also reorganised the tests so that we lint before running all the major tests (which should speed up CI and reduce the cost).
    tim-s-ccs committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    6ec06ec View commit details
    Browse the repository at this point in the history