Skip to content

Instantly share code, notes, and snippets.

@jdudek

jdudek/webpack.rake Secret

Created Dec 22, 2015
Embed
What would you like to do?
namespace :webpack do
desc 'compile assets using webpack'
task :compile do
sh '`npm bin`/webpack --config config/webpack/production.config.js'
end
end
Rake::Task['assets:precompile'].enhance ['webpack:compile']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.