jekyll-esm 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/LICENSE.txt +1 -1
- data/lib/jekyll/esm.rb +2 -1
- data/lib/jekyll/esm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 874a4a2123da08d7db10936aa7c1ef9c0ad4bd4b40e1bbdba9c112c362834648
|
4
|
+
data.tar.gz: 7eb4809d66b456733505bf68cbad740528c333a116bc8c15f05fe68884ed1b5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e80869a7324675efcec4ee35c88dc8fba77f82f4068a30aee3aa896e512bc2db17eaa3bce7c736f6ad26ec44bc7ff1ceeae1c3c57a4e452c3352687e8298a676
|
7
|
+
data.tar.gz: 3929653faeb53d75ea0754f48dbdacd39c8e2f59b2f0defbccdfdda323e4328b3021542af40055c4865fa5b0dbe7ea1a8e6759a7fa9b6c051825c60822ffa2c9
|
data/Gemfile.lock
CHANGED
data/LICENSE.txt
CHANGED
data/lib/jekyll/esm.rb
CHANGED
@@ -22,7 +22,8 @@ module Jekyll
|
|
22
22
|
import_maps.each do |value|
|
23
23
|
importmap = JSON.parse(value.children[0].content)
|
24
24
|
imports = importmap["imports"]
|
25
|
-
imports.keys.each do |
|
25
|
+
imports.keys.each do |import_key|
|
26
|
+
import = import_key.split('/').first
|
26
27
|
pkg_path = File.join(page.site.source, 'node_modules', import)
|
27
28
|
|
28
29
|
# don't repeatedly attempt to install a package
|
data/lib/jekyll/esm/version.rb
CHANGED