babel-plugin-dual-import
Advanced tools
Comparing version 1.1.4 to 1.1.5
/* eslint-disable */ | ||
var ADDED = {}; | ||
module.exports = function(chunkName) { | ||
@@ -23,2 +25,7 @@ var href = getHref(chunkName) | ||
} | ||
if (ADDED[href] === true) { | ||
return Promise.resolve(); | ||
} | ||
ADDED[href] = true; | ||
@@ -25,0 +32,0 @@ var head = document.getElementsByTagName('head')[0] |
{ | ||
"name": "babel-plugin-dual-import", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Babel plugin to import() both js + css", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -168,2 +168,1 @@ # babel-plugin-dual-import [![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg?style=flat-square)](https://gitter.im/Reactlandia/Lobby) | ||
![babel-plugin-dual-import screenshot](./screenshot.png) | ||
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
366661
558
168