Skip to content

Commit

Permalink
Pin boostrap version
Browse files Browse the repository at this point in the history
the new version of bootstrap doesn't play nice with an old version of
postcss-values-parser we're stuck with because webpacker

this is significantly easier than migrating to shakapacker or
jsbundling-rails

see #315
  • Loading branch information
robotdana committed Jul 20, 2022
1 parent 5fb035c commit 4a9906a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variants/frontend-bootstrap/template.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source_paths.unshift(File.dirname(__FILE__))

yarn_add_dependencies %w[bootstrap @popperjs/core]
yarn_add_dependencies %w[bootstrap@5.1.3 @popperjs/core]
run "yarn install"

copy_file "app/frontend/js/bootstrap.js", force: true
Expand Down

0 comments on commit 4a9906a

Please sign in to comment.