babel-plugin-universal-import
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "babel-plugin-universal-import", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Babel plugin to transform import() into its Universal counterpart", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,3 +0,7 @@ | ||
# babel-plugin-universal-import [![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg?style=flat-square)](https://gitter.im/faceyspacey/Lobby) | ||
<a href="https://gitter.im/Reactlandia/Lobby" target="_blank"> | ||
<img alt="Edit Redux-First Router Demo" src="http://cdn.reactlandia.com/chat-badge-reactlandia.png"> | ||
</a> | ||
# babel-plugin-universal-import | ||
<p align="center"> | ||
@@ -34,2 +38,6 @@ <a href="https://www.npmjs.com/package/babel-plugin-universal-import"> | ||
<p align="center"> | ||
<img src="./universal-graphic.png" /> | ||
</p> | ||
## Installation | ||
@@ -42,3 +50,2 @@ ``` | ||
{ | ||
"presets": [whatever you usually have], | ||
"plugins": ["universal-import"] | ||
@@ -72,3 +79,3 @@ } | ||
importCss('Foo') | ||
]) | ||
]).then(proms => proms[0]) | ||
})) | ||
@@ -101,3 +108,3 @@ | ||
importCss(page) | ||
]) | ||
]).then(proms => proms[0]) | ||
})); | ||
@@ -104,0 +111,0 @@ |
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
381798
21
148