lib/jekyll/vite/installation.rb in jekyll-vite-3.0.0 vs lib/jekyll/vite/installation.rb in jekyll-vite-3.0.1

- old
+ new

@@ -8,10 +8,14 @@ JEKYLL_TEMPLATES = Pathname.new(File.expand_path('../../../templates', __dir__)) # Override: Setup a typical Jekyll site to use Vite. def setup_app_files cp JEKYLL_TEMPLATES.join('config/jekyll-vite.json'), config.config_path + append root.join('Procfile.dev'), 'jekyll: bin/jekyll-vite wait && bundle exec jekyll serve --livereload' + cp JEKYLL_TEMPLATES.join('exe/dev'), root.join('exe/dev') + `bundle binstub jekyll-vite --path #{ root.join('bin') }` + `bundle config --delete bin` append root.join('Rakefile'), <<~RAKE require 'jekyll/vite' ViteRuby.install_tasks RAKE end @@ -23,9 +27,10 @@ inject_line_after_last root.join('_config.yml'), 'exclude:', <<-YML.chomp("\n") - bin - config - vite.config.ts - tmp + - Procfile.dev YML inject_line_before root.join('_layouts/default.html'), '</head>', <<-HTML.chomp("\n") {% vite_client_tag %} {% vite_javascript_tag application %} HTML