postcss-critical-css
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -11,3 +11,3 @@ #!/usr/bin/env node | ||
postcss([postcssCriticalCSS({ outputPath: basePath })]) | ||
.process(data, { from: undefined, to: undefined }) | ||
.process(data, { from: undefined }) | ||
.then(result => { | ||
@@ -14,0 +14,0 @@ fs.writeFile( |
@@ -183,4 +183,3 @@ 'use strict'; | ||
.process(criticalCSS, { | ||
from: undefined, | ||
to: undefined | ||
from: undefined | ||
}).then(dryRunOrWriteFile.bind(null, dryRun, filePath)).then(clean.bind(null, css, preserve)); | ||
@@ -187,0 +186,0 @@ }, {}); |
{ | ||
"name": "postcss-critical-css", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Generate critical CSS using PostCSS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -175,4 +175,3 @@ // @flow | ||
.process(criticalCSS, { | ||
from: undefined, | ||
to: undefined | ||
from: undefined | ||
}) | ||
@@ -179,0 +178,0 @@ .then(dryRunOrWriteFile.bind(null, dryRun, filePath)) |
50704
1514