opal-webpack-loader 0.7.0 → 0.7.1

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: 0d16462b0c87b2e4b5bfd45379a397ed582943e2d392080e58c44b81cbd500db
4
- data.tar.gz: 6c0274bbc3dacbb1c735bf4078526a1669512ba1074d318b28018067ce70563d
3
+ metadata.gz: dc53c7f27e7ce42ae61873bdad8307296444236a7838ee00ee74625a0d1e8ef5
4
+ data.tar.gz: 4c68b4c35cc10d08c6ffa732ef9aad867e5b38ffee3dbbc112065090d56a2957
5
5
  SHA512:
6
- metadata.gz: 1b41086c5835da79c0199c0a259aafab20bd96f68e07097321c6426e7b0e464f11e1e7e724064f009bdf0a50643450f77e341665ad5d9ace677c0f18701113f3
7
- data.tar.gz: ccf1621264e8a7109f804dcf9a8f61d328dcd2ebca83087a7c6d84f22928558695dcb1d1d3c652bfac5cc8fe1ab7aa2360d4f506cfbfd3ec5fd6335896744580
6
+ metadata.gz: efd6e89269ecbe339b4678f7fcd671090fc61998cf01dce45de59231cb2715941bfbd792db6a00ec7fcedd9074b800fdd67a09b6a8b14aabed6fd4a6f040ea96
7
+ data.tar.gz: c2cf4046a017bd28280fe945ca7595865c5fa4349048b2eeb4e18e771e4d1706d265fa6bbfc1fe502d4063b8dd41a848426dcc4c358333c969f8262a41e00bb0
@@ -1,8 +1,13 @@
1
1
  #!/usr/bin/env ruby
2
- require 'opal-webpack-loader/compile_server'
3
- require 'opal-webpack-loader/compile_worker'
4
- require 'opal-webpack-loader/load_path_manager'
5
2
  require 'open3'
3
+ require 'oj'
4
+ require 'opal/paths'
5
+ require 'opal/source_map'
6
+ require 'source_map'
7
+ require 'opal/compiler'
8
+ require 'opal-webpack-loader/load_path_manager'
9
+ require 'opal-webpack-loader/compile_worker'
10
+ require 'opal-webpack-loader/compile_server'
6
11
 
7
12
  at_exit do
8
13
  if OpalWebpackLoader::CompileServer.unlink_socket?
@@ -31,7 +36,10 @@ else
31
36
  exit(1)
32
37
  end
33
38
 
34
- OpalWebpackLoader::LoadPathManager.create_load_paths_cache
39
+ load_paths = OpalWebpackLoader::LoadPathManager.create_load_paths_cache
40
+ if load_paths
41
+ Opal.append_paths(*load_paths)
42
+ end
35
43
 
36
44
  pid = fork { OpalWebpackLoader::CompileServer.new.start(number_of_workers) }
37
45
 
@@ -1,8 +1,3 @@
1
- require 'oj'
2
- require 'opal/paths'
3
- require 'opal/source_map'
4
- require 'source_map'
5
- require 'opal/compiler'
6
1
  require 'socket'
7
2
 
8
3
  module OpalWebpackLoader
@@ -1,3 +1,3 @@
1
1
  module OpalWebpackLoader
2
- VERSION="0.7.0"
2
+ VERSION="0.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-webpack-loader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann