opal-webpack-loader 0.6.5 → 0.6.6

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: 1b55e893894b05e91eab4ef13fa4a1c9a796e3258505725bdf2a80855639aa5f
4
- data.tar.gz: cf6b3c096fe6e7cc28364416d3513e02257aa9c6c045bcedaf203f3e12e098d0
3
+ metadata.gz: d6fddd8a389b2b937b326028f4526acde3fa4684a07494c35171d48129f75a53
4
+ data.tar.gz: 96b0a819a4715984f48d9813f1a70107e6f945a00e24feca6834a4a82e97251a
5
5
  SHA512:
6
- metadata.gz: ad3d491649b5e555cef8260e0ddb3243c6db21a5f1525bdeadbfd6f98147b7108740f13555cd151d949d63a5f2511824d81051aa80462413dcad766c84234758
7
- data.tar.gz: bfd86eaa367c5f329c8b73f0dbfffc5e9ba5a35d3450c2ad1fe05b0c5167cc461a368cfee9e9e16053be1d38acd156697990999714bc4c9207b85f667fe5c18b
6
+ metadata.gz: 886a5692649c816ea1c84de476ab36b763e2dcb2e95ca15a83ccaaf153e6354a4e9a5903a59ad644b9efb63e28d4fe01a28e8d04ceb723ce7888c83043456553
7
+ data.tar.gz: 30e45fe1b42b7007f53726529afc979d9c0a71b60a062e535ce97030344bcf419996eda241f5371b14e3426b987a7c359b4de48c4294298c0ee64ecf8476f538
@@ -53,8 +53,8 @@ if npm != ''
53
53
  if owl_npm_version != OpalWebpackLoader::VERSION
54
54
  STDERR.puts "opal-webpack-loader: Incorrect version of npm package found or npm package not installed.\n" +
55
55
  "Please install the npm package for opal-webpack-loader:\n" +
56
- "\twith npm:\tnpm install opal-webpack-loader@#{OpalWebpackLoader::VERSION} --save-dev\n" +
57
- "\tor with yarn:\tyarn add opal-webpack-loader@#{OpalWebpackLoader::VERSION} --dev\n"
56
+ "\twith npm:\tnpm install opal-webpack-loader@#{OpalWebpackLoader::VERSION}\n" +
57
+ "\tor with yarn:\tyarn add opal-webpack-loader@#{OpalWebpackLoader::VERSION}\n"
58
58
  end
59
59
  else
60
60
  STDERR.puts "opal-webpack-loader: Unable to check npm package version. Please check your npm installation."
@@ -41,7 +41,7 @@ module OpalWebpackCompileServer
41
41
 
42
42
  compile_source_map = request_json["source_map"]
43
43
  filename = request_json["filename"]
44
- source = request_json["source"]
44
+ source = File.read(filename)
45
45
 
46
46
  operation = proc do
47
47
  begin
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "dependencies": {
4
+ "opal-webpack-loader": "^<%= owl_version %>"
4
5
  },
5
6
  "scripts": {
6
7
  "debug": "<%= debug_script %>",
@@ -13,7 +14,6 @@
13
14
  "css-loader": "^2.1.1",
14
15
  "extra-watch-webpack-plugin": "^1.0.3",
15
16
  "file-loader": "^1.1.11",
16
- "opal-webpack-loader": "^<%= owl_version %>",
17
17
  "node-sass": "^4.12.0",
18
18
  "sass-loader": "^7.1.0",
19
19
  "style-loader": "^0.23.1",
@@ -1,3 +1,3 @@
1
1
  module OpalWebpackLoader
2
- VERSION="0.6.5"
2
+ VERSION="0.6.6"
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.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann