From 121108bb70bae075232468b144d048298ff8404b Mon Sep 17 00:00:00 2001 From: David Chmura Date: Tue, 6 Mar 2018 10:21:48 -0500 Subject: [PATCH] REFACTOR: remove extra call to yarn. --- recipes/use_webpacker.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/use_webpacker.rb b/recipes/use_webpacker.rb index e549ac7..5ed1262 100644 --- a/recipes/use_webpacker.rb +++ b/recipes/use_webpacker.rb @@ -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'