bin/postcss in jekyll-postcss-0.4.1 vs bin/postcss in jekyll-postcss-0.5.0
- old
+ new
@@ -5,14 +5,14 @@
const net = require("net");
class PostCSS {
static process(data, write) {
postcss(config.plugins)
- .process(JSON.parse(data).raw_content, { from: "stdin" })
+ .process(JSON.parse(data).raw_content, { from: undefined })
.then((result) => write(result))
.catch((error) => {
console.error("PostCSS Error!\n");
- console.error(error.toString());
+ console.error(error);
});
}
static startServer() {
const server = net.createServer((c) => {