lib/jekyll/hooks/purgecss.rb in jekyll-purgecss-0.1.1 vs lib/jekyll/hooks/purgecss.rb in jekyll-purgecss-0.2.0

- old
+ new

@@ -5,10 +5,10 @@ raise PurgecssNotFoundError unless File.file?("./node_modules/.bin/purgecss") raise PurgecssRuntimeError unless system( "./node_modules/.bin/purgecss " \ "--config ./purgecss.config.js " \ - "--out _site/#{site.config.fetch("css_dir", "css")}/" + "--out #{site.config.fetch("destination")}/#{site.config.fetch("css_dir", "css")}/" ) end end class PurgecssNotFoundError < RuntimeError; end