vite_plugin_legacy 0.5.0 → 0.5.1

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: ad345c925498e8538f59aa3868f0f406fc47883e490e4878126a810789696a0f
4
- data.tar.gz: 9761f17774c82641a7d457425965d3d49708b18e493a1041dd1211fa0ff79a09
3
+ metadata.gz: b39b9dd768dddab13d6caf3b7cac4f1fa31166e3828c7df1ff6d47e2fcf52e1e
4
+ data.tar.gz: 016e5967ade0328d2896c1962a819b72db4f807357a5d68a09c9bf1833ac04e6
5
5
  SHA512:
6
- metadata.gz: 6b9c7fceac3b94cba30107f5c7fd8dc3be280c3a4b2239659d0b17e35b2097b876a9a7d97a492379190c35ee899bd4b3ca73918256732c5d8f29b19b080d91da
7
- data.tar.gz: c007c55df8183531e85fe92b126088b03d64478550284279fd25ca45a28959d49dd5e49ca28d3b1ddb8c3d883755d6bead72e0db03a0c470751d439de265a595
6
+ metadata.gz: 7699e732718da9dbb7a9e469900129b1079ffded95860c3d4a8f0d494eb40564f69548a49d8bfc59fcda1c9b6696878e763453b17d149b4a30fa1a3bfb63bb9c
7
+ data.tar.gz: 0165a2ef8d947a4c76427ec7b39b570ce99a76233754a73a3f1fc2d0d5a3d7da68fc786d588a34364eb5505e2b1bb75ca77d1ccea14087c0aad6ea25a24df3cc
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.5.1](https://github.com/ElMassimo/vite_ruby/compare/vite_plugin_legacy@0.5.0...vite_plugin_legacy@0.5.1) (2021-03-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Testing leftovers accidentally disabled nomodules ([39f66f4](https://github.com/ElMassimo/vite_ruby/commit/39f66f413237cb1fe063f767f645c1c1be43653c))
7
+
8
+
9
+
1
10
  # 0.5.0 (2021-03-05)
2
11
 
3
12
 
@@ -9,7 +9,7 @@ module VitePluginLegacy::TagHelpers
9
9
 
10
10
  legacy_name = name.sub(/\.|$/, '-legacy\1')
11
11
  id = "vite-#{ legacy_name.tr(' .\'', '-') }-entry"
12
- import_tag = content_tag(:script, nomodule: false, id: id, 'data-src': vite_asset_path(legacy_name, type: asset_type)) {
12
+ import_tag = content_tag(:script, nomodule: true, id: id, 'data-src': vite_asset_path(legacy_name, type: asset_type)) {
13
13
  "System.import(document.getElementById('#{ id }').getAttribute('data-src'))".html_safe
14
14
  }
15
15
 
@@ -23,6 +23,6 @@ module VitePluginLegacy::TagHelpers
23
23
 
24
24
  name = vite_manifest.send(:manifest).keys.find { |file| file.include?('legacy-polyfills') } ||
25
25
  raise(ArgumentError, 'Vite legacy polyfill not found in manifest.json')
26
- content_tag(:script, nil, nomodule: false, src: vite_asset_path(name))
26
+ content_tag(:script, nil, nomodule: true, src: vite_asset_path(name))
27
27
  end
28
28
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VitePluginLegacy
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vite_plugin_legacy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Máximo Mussini
@@ -98,8 +98,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
98
98
  licenses:
99
99
  - MIT
100
100
  metadata:
101
- source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_plugin_legacy@0.5.0/vite_plugin_legacy
102
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_plugin_legacy@0.5.0/vite_plugin_legacy/CHANGELOG.md
101
+ source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_plugin_legacy@0.5.1/vite_plugin_legacy
102
+ changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_plugin_legacy@0.5.1/vite_plugin_legacy/CHANGELOG.md
103
103
  post_install_message:
104
104
  rdoc_options: []
105
105
  require_paths: