isomorfeus-asset-manager 0.12.6 → 0.12.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus/asset_manager/version.rb +1 -1
- data/lib/isomorfeus/asset_manager.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: 6f2bba888a2b50846a6384f6b5a04036b3e5e7e9e367f867b4cb23996ceb8ba1
|
4
|
+
data.tar.gz: 2ef547ce6fb466c561b1c4964d561c2c5612a2a641179b1dfdb33f555142f6b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b65f19ea35eb669fc45e946afe44b7da36b75910d28b69c4f9fdd9657f23c446c0f22e5fb505bf78755537428f91dcddd391edd4d818f9cabc8b2b3ca115e68
|
7
|
+
data.tar.gz: 7acea3a93903a46f1d59ae45f83617c619812836015c58bbbab9b7ebf1e24c21708b013021eb1898ab9cfcdafaf991ae0f821db6dddbd256097a170118a0a133
|
@@ -57,7 +57,7 @@ module Isomorfeus
|
|
57
57
|
out_file = File.join(@imports_path, ruby_import.module_name + '.js')
|
58
58
|
next if !Isomorfeus.development? && File.exist?(out_file)
|
59
59
|
js_map_path = File.join(@imports_path, ruby_import.module_name + '.js.map')
|
60
|
-
result = Opal::Builder.build(ruby_import.resolved_path, {
|
60
|
+
result = Opal::Builder.build(ruby_import.resolved_path, { esm: true })
|
61
61
|
FileUtils.mkdir_p(File.join(*[@imports_path].concat(ruby_import.module_name.split('/')[0...-1]))) if ruby_import.module_name.include?('/')
|
62
62
|
js = result.to_s
|
63
63
|
unless Isomorfeus.production?
|