We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdc55b1 commit 08f60ebCopy full SHA for 08f60eb
Rakefile
@@ -40,15 +40,21 @@ namespace :webpack do
40
41
namespace :build do
42
task :development => 'yarn:install' do
43
- sh "cd builder && bin/webpack"
+ Bundler.with_clean_env do
44
+ sh "cd builder && bin/webpack"
45
+ end
46
end
47
task :production => 'yarn:install' do
- sh "cd builder && rake webpacker:compile"
48
49
+ sh "cd builder && bin/rake webpacker:compile"
50
51
52
53
54
task :watch => 'yarn:install' do
- sh "cd builder && bin/webpack --watch"
55
56
+ sh "cd builder && bin/webpack --watch"
57
58
59
60
namespace :yarn do
0 commit comments