Skip to content

Commit a492352

Browse files
committed
rake webpack: fixing deprecation issue
#343
1 parent 92a7a30 commit a492352

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Rakefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,30 @@ task :webpack => 'webpack:build'
3737

3838
namespace :webpack do
3939
task :build => ['build:development', 'build:production']
40-
40+
4141
namespace :build do
4242
task :development => 'yarn:install' do
43-
Bundler.with_clean_env do
43+
Bundler.with_unbundled_env do
4444
sh "cd builder && bin/webpack"
4545
end
4646
end
4747
task :production => 'yarn:install' do
48-
Bundler.with_clean_env do
48+
Bundler.with_unbundled_env do
4949
sh "cd builder && bin/rake webpacker:compile"
5050
end
5151
end
5252
end
53-
53+
5454
task :watch => 'yarn:install' do
55-
Bundler.with_clean_env do
55+
Bundler.with_unbundled_env do
5656
sh "cd builder && bin/webpack --watch"
5757
end
5858
end
59-
59+
6060
namespace :yarn do
6161
task :install do
6262
sh "yarn install && cd builder && yarn install"
6363
end
6464
end
65-
end
65+
end
6666

0 commit comments

Comments
 (0)