Created
May 15, 2016 02:21
-
-
Save alanbsmith/bf14906284e4cf1673c8bf9f401c8190 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :assets do | |
task :precompile => :webpack | |
end | |
task :webpack do | |
sh "npm install" | |
sh "./node_modules/.bin/webpack" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment