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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc53c7f27e7ce42ae61873bdad8307296444236a7838ee00ee74625a0d1e8ef5
|
4
|
+
data.tar.gz: 4c68b4c35cc10d08c6ffa732ef9aad867e5b38ffee3dbbc112065090d56a2957
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|