Skip to content

Commit

Permalink
REFACTOR: remove extra call to yarn.
Browse files Browse the repository at this point in the history
  • Loading branch information
dschmura committed Mar 6, 2018
1 parent da3dc5f commit 121108b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/use_webpacker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@
gsub_file('app/views/layouts/application.html.haml', "= javascript_include_tag 'application'", "= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload'")

run "mkdir app/webpacker/#{app_name}/images"
run 'yarn add rails-ujs turbolinks jquery stimulus bourbon bootstrap babili'
run 'yarn add rails-ujs turbolinks jquery stimulus bourbon bootstrap babili popper.js -D webpack-cli -D'
# Add popper which is a dependencie of bootstrap.
# I am not sure why I had to run this step manually
# to get it to work, but maybe something with a name conflict.
run 'yarn add popper.js -D webpack-cli -D'
# run 'yarn add popper.js -D webpack-cli -D'

0 comments on commit 121108b

Please sign in to comment.