vite_plugin_legacy 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/vite_plugin_legacy/tag_helpers.rb +2 -3
- data/lib/vite_plugin_legacy/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7886ed9f3f64eb4f35c3de8d577b81669cce75fbd64876100bc5dd66e311697d
|
4
|
+
data.tar.gz: b49a03f48c69d3c0d52cb4018ab0f46d96560063e80e35522c192cdd20e1eee3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f63fb9e57cc4b7136b68e908a952f84d26e2b309ee56adbbce3ea0d80ae004881081868beb1ae9d6f5fa6d754a60b0775c717b0a90df803fd864ff0d48836b90
|
7
|
+
data.tar.gz: 03c02a867432f89e628071b2ed1bdd3e5298fe77c6a92da8855ca548104101798b4f23474a3716de5e739128a12cd00774bf9b462c11c40aea1aa258af494fcf
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## <small>0.5.6 (2021-07-19)</small>
|
2
|
+
|
3
|
+
* feat: Simplify implementation of legacy tag helper ([70bfac1](https://github.com/ElMassimo/vite_ruby/commit/70bfac1))
|
4
|
+
|
5
|
+
|
6
|
+
|
1
7
|
## [0.5.5](https://github.com/ElMassimo/vite_ruby/compare/vite_plugin_legacy@0.5.4...vite_plugin_legacy@0.5.5) (2021-03-18)
|
2
8
|
|
3
9
|
|
@@ -8,9 +8,8 @@ module VitePluginLegacy::TagHelpers
|
|
8
8
|
return if ViteRuby.instance.dev_server_running?
|
9
9
|
|
10
10
|
legacy_name = name.sub(/(\..+)|$/, '-legacy\1')
|
11
|
-
|
12
|
-
|
13
|
-
"System.import(document.getElementById('#{ id }').getAttribute('data-src'))".html_safe
|
11
|
+
import_tag = content_tag(:script, nomodule: true) {
|
12
|
+
"System.import('#{ vite_asset_path(legacy_name, type: asset_type) }')".html_safe
|
14
13
|
}
|
15
14
|
|
16
15
|
safe_join [vite_legacy_polyfill_tag, import_tag]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vite_plugin_legacy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Máximo Mussini
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: vite_ruby
|
@@ -42,8 +42,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
|
|
42
42
|
licenses:
|
43
43
|
- MIT
|
44
44
|
metadata:
|
45
|
-
source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_plugin_legacy@0.5.
|
46
|
-
changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_plugin_legacy@0.5.
|
45
|
+
source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_plugin_legacy@0.5.6/vite_plugin_legacy
|
46
|
+
changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_plugin_legacy@0.5.6/vite_plugin_legacy/CHANGELOG.md
|
47
47
|
post_install_message:
|
48
48
|
rdoc_options: []
|
49
49
|
require_paths:
|