diff --git a/src/generators/tailwindcss.js b/src/generators/tailwindcss.js index 18693037..42a9e245 100644 --- a/src/generators/tailwindcss.js +++ b/src/generators/tailwindcss.js @@ -113,7 +113,7 @@ module.exports = { } return postcss([...toProcess]) - .process(css, {from: undefined}) + .process(css, {from: userFileExists ? userFilePath : undefined}) .then(result => result.css) .catch(error => { throw new SyntaxError(error)