Sha256: 6a96433c3559c3a6071f3a223672bfcd92280bf771236f60d84390bd8c91e730

Contents?: true

Size: 410 Bytes

Versions: 12

Compression:

Stored size: 410 Bytes

Contents

# frozen_string_literal: true

require 'jekyll'
require 'vite_ruby'

require 'jekyll/vite/version'
require 'jekyll/vite/config'
require 'jekyll/vite/tags'
require 'jekyll/vite/generator'
require 'jekyll/vite/proxy'

Jekyll::Hooks.register(:site, :after_init) do |site|
  if site.config['serving'] && ViteRuby.instance.dev_server_running?
    site.config['exclude'] << ViteRuby.config.source_code_dir
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
jekyll-vite-3.0.4 lib/jekyll/vite.rb
jekyll-vite-3.0.3 lib/jekyll/vite.rb
jekyll-vite-3.0.2 lib/jekyll/vite.rb
jekyll-vite-3.0.1 lib/jekyll/vite.rb
jekyll-vite-3.0.0 lib/jekyll/vite.rb
jekyll-vite-3.0.0.beta.1 lib/jekyll/vite.rb
jekyll-vite-2.0.0.beta.1 lib/jekyll/vite.rb
jekyll-vite-1.0.1 lib/jekyll/vite.rb
jekyll-vite-1.0.0 lib/jekyll/vite.rb
jekyll-vite-0.0.3 lib/jekyll/vite.rb
jekyll-vite-0.0.2 lib/jekyll/vite.rb
jekyll-vite-0.0.1 lib/jekyll/vite.rb