Skip to content

Support both Sprockets and Propshaft#1

Merged
varyonic merged 8 commits into
mainfrom
propshaft
Mar 2, 2026
Merged

Support both Sprockets and Propshaft#1
varyonic merged 8 commits into
mainfrom
propshaft

Conversation

@varyonic
Copy link
Copy Markdown
Contributor

Improvements to the asset pipeline support and JavaScript integration. Addition of Propshaft support alongside Sprockets, and a new JavaScript build process using Rollup.

Asset pipeline enhancements:

  • Added support for both Sprockets and Propshaft asset pipelines, including new gemfiles (gemfiles/sprockets.gemfile, gemfiles/propshaft.gemfile) and updates to the CI workflow to test both variants. The Rails engine now auto-registers plugin assets for Propshaft.

  • Updated Rails and DartSass configuration for compatibility with both asset pipelines, including a new DartSass initializer and conditional Sprockets configuration.

JavaScript and build process improvements:

  • Introduced a new package.json and Rollup configuration (rollup.config.mjs) for building bundled JavaScript and CSS assets, with SlimSelect as a dependency

Gemfile and dependency management:

  • Simplified the main Gemfile to default to Sprockets for local development, with CI selecting the appropriate gemfile for each asset pipeline. Development/test dependencies are now specified per gemfile variant.

@varyonic varyonic force-pushed the propshaft branch 11 times, most recently from ffdbcf0 to 109a92b Compare February 23, 2026 20:18
@varyonic varyonic merged commit c78c75c into main Mar 2, 2026
4 checks passed
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.

1 participant