lib/generators/svelte/install_generator.rb in actionview-svelte-handler-0.4.1 vs lib/generators/svelte/install_generator.rb in actionview-svelte-handler-0.5.0

- old
+ new

@@ -4,10 +4,10 @@ source_root File.expand_path("templates/install", __dir__) def install copy_file "initializer.rb", "config/initializers/svelte.rb" insert_into_file "app/views/layouts/application.html.erb", - " <%= svelte_tags %>\n", - before: "</head>" + "\n <%= svelte_tags %>", + after: "<head>" `npm install #{Svelte.gem_dir} --install-links --save=false` end end