Sha256: fbd655b257a31490c495beb685da42e800c7457b3101622aa9ba6a8e9f5d11eb

Contents?: true

Size: 270 Bytes

Versions: 8

Compression:

Stored size: 270 Bytes

Contents

# Frozen-string-literal: true
# Copyright: 2012-2015 - MIT License
# Encoding: utf-8

try_require_if_javascript "sprockets/es6" do
  if ExecJS.runtime.is_a?(ExecJS::RubyRhinoRuntime)
    Jekyll.logger.warn "ES6 transpiler has trouble with RubyRhino, use Node"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jekyll-assets-2.1.3 lib/jekyll/assets/addons/js_es6.rb
jekyll-assets-2.1.2 lib/jekyll/assets/addons/js_es6.rb
jekyll-assets-2.1.1 lib/jekyll/assets/addons/js_es6.rb
jekyll-assets-2.1.0 lib/jekyll/assets/addons/js_es6.rb
jekyll-assets-2.0.3 lib/jekyll/assets/addons/js_es6.rb
jekyll-assets-2.0.2 lib/jekyll/assets/addons/js_es6.rb
jekyll-assets-2.0.1 lib/jekyll/assets/addons/js_es6.rb
jekyll-assets-2.0.0 lib/jekyll/assets/addons/js_es6.rb