sprockets-bumble_d 1.1.0 → 2.0.0
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 563a1df484bc178ed52a362af4fbdebbd6d094ae
|
4
|
+
data.tar.gz: 5be4216200fe745c4110fd05918c3fa848e7d0dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28f32bb6fdc5b0e176f59417ed983396c70434e53123de567a87dc87ddc60ea86da8ac83cceb760b57dbf9d2c940fb7215acf263b30af2393b49dc2d3ae9e819
|
7
|
+
data.tar.gz: fa17ebed642439486b9aceaf841a5aa70c0cbb82ce8ba02a23f645704a33f950c1b1c549b6ff794ec04af01326df56afe23352d5b54f808ad39583b711f28530
|
@@ -8,7 +8,7 @@ module Sprockets
|
|
8
8
|
module BumbleD
|
9
9
|
class Transformer
|
10
10
|
class BabelBridge < Schmooze::Base
|
11
|
-
dependencies babel: 'babel
|
11
|
+
dependencies babel: '@babel/core'
|
12
12
|
|
13
13
|
method :resolvePlugin, 'babel.resolvePlugin'
|
14
14
|
method :resolvePreset, 'babel.resolvePreset'
|
@@ -53,7 +53,6 @@ module Sprockets
|
|
53
53
|
options = {
|
54
54
|
moduleIds: true,
|
55
55
|
sourceRoot: input[:load_path],
|
56
|
-
moduleRoot: nil,
|
57
56
|
filename: input[:filename],
|
58
57
|
filenameRelative: filename_relative,
|
59
58
|
ast: false
|
@@ -61,7 +60,7 @@ module Sprockets
|
|
61
60
|
|
62
61
|
if options[:moduleIds] && options[:moduleRoot]
|
63
62
|
options[:moduleId] ||= File.join(options[:moduleRoot], input[:name])
|
64
|
-
elsif options[:moduleIds]
|
63
|
+
elsif options[:moduleIds] && input[:name] && !input[:name].empty?
|
65
64
|
options[:moduleId] ||= input[:name]
|
66
65
|
end
|
67
66
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprockets-bumble_d
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Macklin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|