use rubyracer for faster prefixing
This commit is contained in:
parent
744c12b3b7
commit
f2c1836bc8
4 changed files with 10 additions and 1 deletions
2
Gemfile
2
Gemfile
|
@ -14,6 +14,8 @@ gem 'w3c_validators'
|
||||||
# ical files
|
# ical files
|
||||||
gem 'icalendar'
|
gem 'icalendar'
|
||||||
|
|
||||||
|
gem 'therubyracer'
|
||||||
|
|
||||||
# Autoprefixing for class
|
# Autoprefixing for class
|
||||||
gem 'autoprefixer-rails'
|
gem 'autoprefixer-rails'
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@ GEM
|
||||||
icalendar (2.4.1)
|
icalendar (2.4.1)
|
||||||
json (2.0.2)
|
json (2.0.2)
|
||||||
kramdown (1.12.0)
|
kramdown (1.12.0)
|
||||||
|
libv8 (3.16.14.15)
|
||||||
listen (3.1.5)
|
listen (3.1.5)
|
||||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||||
rb-inotify (~> 0.9, >= 0.9.7)
|
rb-inotify (~> 0.9, >= 0.9.7)
|
||||||
|
@ -71,6 +72,9 @@ GEM
|
||||||
shellany (0.0.1)
|
shellany (0.0.1)
|
||||||
slop (3.6.0)
|
slop (3.6.0)
|
||||||
terminal-notifier-guard (1.7.0)
|
terminal-notifier-guard (1.7.0)
|
||||||
|
therubyracer (0.12.2)
|
||||||
|
libv8 (~> 3.16.14.0)
|
||||||
|
ref
|
||||||
thor (0.19.1)
|
thor (0.19.1)
|
||||||
w3c_validators (1.2)
|
w3c_validators (1.2)
|
||||||
json
|
json
|
||||||
|
@ -91,6 +95,7 @@ DEPENDENCIES
|
||||||
nanoc (= 4.3.7)
|
nanoc (= 4.3.7)
|
||||||
sass
|
sass
|
||||||
terminal-notifier-guard
|
terminal-notifier-guard
|
||||||
|
therubyracer
|
||||||
w3c_validators
|
w3c_validators
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
|
require 'v8'
|
||||||
require 'autoprefixer-rails'
|
require 'autoprefixer-rails'
|
||||||
|
|
||||||
Nanoc::Filter.define(:autoprefixer) do |content, _params|
|
Nanoc::Filter.define(:autoprefixer) do |content, _params|
|
||||||
AutoprefixerRails.process(content).css
|
AutoprefixerRails.process(content).css
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue