Skip to content

Commit

Permalink
refactor: postcss from path
Browse files Browse the repository at this point in the history
makes @config work in css files
  • Loading branch information
cossssmin committed Oct 21, 2022
1 parent 3d4ca92 commit cd9d629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators/tailwindcss.js
Expand Up @@ -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)
Expand Down

0 comments on commit cd9d629

Please sign in to comment.