lib/jekyll/assets.rb in jekyll-assets-1.0.0 vs lib/jekyll/assets.rb in jekyll-assets-2.0.0.pre.beta1
- old
+ new
@@ -1,14 +1,20 @@
-require "jekyll/assets/patches"
-require "jekyll/assets/filters"
-require "jekyll/assets/tag"
-require "jekyll/assets/version"
+require "sprockets"
+require "sprockets/helpers"
+require "jekyll"
-module Jekyll
- module Assets
- HOOKS = []
+require_relative "assets/hook"
+require_relative "assets/helpers"
+require_relative "assets/extras/es6"
+require_relative "assets/extras/font-awesome"
+require_relative "assets/extras/helpers"
+require_relative "assets/extras/prefix"
- def self.configure(&blk)
- HOOKS << blk
- end
- end
-end
+require_relative "assets/env"
+require_relative "assets/patches/jekyll/cleaner"
+require_relative "assets/patches/sprockets/asset"
+require_relative "assets/patches/jekyll/site"
+
+require_relative "assets/hooks/post_read"
+require_relative "assets/hooks/post_write"
+require_relative "assets/filters"
+require_relative "assets/tag"