File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -37,30 +37,30 @@ task :webpack => 'webpack:build'
37
37
38
38
namespace :webpack do
39
39
task :build => [ 'build:development' , 'build:production' ]
40
-
40
+
41
41
namespace :build do
42
42
task :development => 'yarn:install' do
43
- Bundler . with_clean_env do
43
+ Bundler . with_unbundled_env do
44
44
sh "cd builder && bin/webpack"
45
45
end
46
46
end
47
47
task :production => 'yarn:install' do
48
- Bundler . with_clean_env do
48
+ Bundler . with_unbundled_env do
49
49
sh "cd builder && bin/rake webpacker:compile"
50
50
end
51
51
end
52
52
end
53
-
53
+
54
54
task :watch => 'yarn:install' do
55
- Bundler . with_clean_env do
55
+ Bundler . with_unbundled_env do
56
56
sh "cd builder && bin/webpack --watch"
57
57
end
58
58
end
59
-
59
+
60
60
namespace :yarn do
61
61
task :install do
62
62
sh "yarn install && cd builder && yarn install"
63
63
end
64
64
end
65
- end
65
+ end
66
66
You can’t perform that action at this time.
0 commit comments