Closed penguinpowernz closed 5 years ago
This already works:
dw = Deadweight.new
dw.stylesheets = [ 'css/application.min.css' ]
dw.pages = [ 'index.html' ]
puts dw.run
Is there a reason you want to pass files instead of paths?
Huh, it wasn't working for me... I needed local file checking for checking stuff in a rake task (and possibly automatically chopping classes) before generating assets with sprocket. But I have since gone another direction.
So you can use like this: