Hello there,
The following lines of code in your plugin mean any warnings generated, results in no css being output. I don't think this behaviour is intended?
if (warnings.length > 0) { // emit diagnostics for each warning /* BLA */ resolve(results); } else { results.code = postCssResults.css.toString(); /* BLA */ context.fs.writeFile(results.id, results.code, { inMemoryOnly: true }).then(() => { resolve(results); }); }
Hello there, The following lines of code in your plugin mean any warnings generated, results in no css being output. I don't think this behaviour is intended?
if (warnings.length > 0) { // emit diagnostics for each warning /* BLA */ resolve(results); } else { results.code = postCssResults.css.toString(); /* BLA */ context.fs.writeFile(results.id, results.code, { inMemoryOnly: true }).then(() => { resolve(results); }); }