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: 364ab7abe793fccf23fb730c0c16ab8d3a7a53082ad611efe8668ea37f79a4f6
4
- data.tar.gz: 36b17b11cad6492ca2b4c58b0de76e941fada353460d832af1c2fd53663f4083
3
+ metadata.gz: 106764bed850e280fc8124549ee48e5e0d2cf044a9e2b9ad4c7c256cb82fb808
4
+ data.tar.gz: '0045587649638eeac8007613792e9d9142ca368028fd7fef8bec93560ea1fd57'
5
5
  SHA512:
6
- metadata.gz: '008430165b30c2783511099bbbc208e708418836f32563e4f5104d565d059d80e573964c9912ed0f34742ece9bfe548527139cbc8970ecd79cdb347f05d906f2'
7
- data.tar.gz: bacc4f6434cbd676016ca6f5a8a44772f8483e123e845073935f1e5347834c1f7d48eb0574ad167915dd40e373644d9d80d50f9e52a54a7bfffbc167cc4eb80c
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"
@@ -1,3 +1,3 @@
1
1
  module WebpackNative
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webpack_native
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - scratchoo