babel-plugin-dual-import
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "babel-plugin-dual-import", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Babel plugin to import() both js + css", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -57,3 +57,6 @@ # babel-plugin-dual-import [![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg?style=flat-square)](https://gitter.im/faceyspacey/Lobby) | ||
Promise.all([import( /* webpackChunkName: 'Foo' */ './Foo\\'), importCss('Foo')]); | ||
Promise.all([ | ||
import( /* webpackChunkName: 'Foo' */ './Foo\\'), | ||
importCss('Foo') | ||
]).then(proms => proms[0]); | ||
@@ -71,3 +74,6 @@ ``` | ||
Promise.all([import( /* webpackChunkName: 'base/[request]' */ `./base/${page}`), importCss(`base/${page}`)]); | ||
Promise.all([ | ||
import( /* webpackChunkName: 'base/[request]' */ `./base/${page}`), | ||
importCss(`base/${page}`)] | ||
).then(proms => proms[0]); | ||
``` | ||
@@ -74,0 +80,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
316403
2277
122