babel-plugin-universal-import
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -34,2 +34,10 @@ /* eslint-disable */ | ||
head.appendChild(link) | ||
// link.onload doesn't work well enough, but this will handle it | ||
// since images can't load css | ||
var img = document.createElement('img') | ||
img.onerror = function() { | ||
link.onload() | ||
} | ||
img.src = href | ||
}) | ||
@@ -36,0 +44,0 @@ } |
{ | ||
"name": "babel-plugin-universal-import", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Babel plugin to transform import() into its Universal counterpart", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
344014
681