We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 097f37a commit 3daccc1Copy full SHA for 3daccc1
index.js
@@ -279,7 +279,7 @@ function css (css, file) {
279
if (file === 'stdin' && output) file = output
280
281
// TODO: Unit test this
282
- if (file !== 'stdin') options.from = file
+ options.from = file === 'stdin' ? path.join(process.cwd(), 'stdin') : file
283
284
if (output || dir || argv.replace) {
285
options.to = output || (argv.replace ? file : path.join(dir, path.basename(file)))
0 commit comments