-
-
Save jdudek/8fbbe2b17ceb79cf0ea9 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 :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