Skip to content

Commit

Permalink
Restore sprockets
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed Apr 22, 2024
1 parent 24364ed commit a3cc842
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,16 @@ gem("cache_with_locale")
# solid_queue for jobs
gem("solid_queue")

# sprockets for asset compilation and versioning.
# Needed by gem bootstrap-sass, but not bootstrap (v4+)
gem("sprockets-rails")
# Fix a version problem betw stimulus and sprockets. (not sprockets-rails)
# Delete this dependency declaration if the issue gets resolved:
# https://github.com/hotwired/stimulus-rails/issues/108
gem("sprockets", "~>4.2.1")
# Compile SCSS for stylesheets
gem("dartsass-rails")
# Use bootstrap style generator
# Bootstrap 3 SCSS and JS
gem("bootstrap-sass")
# Use Terser as compressor for JavaScript assets
gem("terser")
Expand Down
9 changes: 9 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,13 @@ GEM
sorted_set (1.0.3)
rbtree
set (~> 1.0)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sprockets-rails (3.4.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
stimulus-rails (1.3.3)
railties (>= 6.0.0)
stringio (3.1.0)
Expand Down Expand Up @@ -427,6 +434,8 @@ DEPENDENCIES
solid_cache
solid_queue
sorted_set
sprockets (~> 4.2.1)
sprockets-rails
stimulus-rails
terser
trilogy
Expand Down

0 comments on commit a3cc842

Please sign in to comment.