webpack_native 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 106764bed850e280fc8124549ee48e5e0d2cf044a9e2b9ad4c7c256cb82fb808
|
4
|
+
data.tar.gz: '0045587649638eeac8007613792e9d9142ca368028fd7fef8bec93560ea1fd57'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20199e5da455d3591df950a003730d397705cbc45d14d8978bc454514a3ac9edbceaae76471d38f1f6e3980d29ec825752f1dc56e7a159d8379b38d8982edd84
|
7
|
+
data.tar.gz: 512655098fb41be3ad09ce54261fa6186ae4456d5d6379dc04856ed9c6253d7abc796ef2ff21c7731cc3a3ab2e638fe5ad1ebca9ef170dc7953ef6783bc0c2ce
|
@@ -6,6 +6,8 @@ class WebpackNative::DevGenerator < Rails::Generators::Base
|
|
6
6
|
|
7
7
|
Mutex.new.synchronize do
|
8
8
|
Dir.chdir "#{Rails.root}/app/webpack_native" do
|
9
|
+
Dir.mkdir('src/images') unless Dir.exist?('src/images')
|
10
|
+
%x{ yarn install }
|
9
11
|
result = %x{ npm run build:dev }
|
10
12
|
puts "\n"
|
11
13
|
puts result
|
@@ -6,6 +6,7 @@ class WebpackNative::ProdGenerator < Rails::Generators::Base
|
|
6
6
|
|
7
7
|
Mutex.new.synchronize do
|
8
8
|
Dir.chdir "#{Rails.root}/app/webpack_native" do
|
9
|
+
Dir.mkdir('src/images') unless Dir.exist?('src/images')
|
9
10
|
%x{ yarn install }
|
10
11
|
result = %x{ npm run build:prod }
|
11
12
|
puts "\n"
|