Skip to content

Instantly share code, notes, and snippets.


jdudek/webpack.rake Secret

Created Dec 22, 2015
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'
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.