Replies: 2 comments 1 reply
-
I think this is possible right now, you'll just need a babel macros config that uses a path.resolve for the config otherwise it'll use the run location for your scripts as the base location. // babel-plugin-macros.config.js
const { resolve } = require("path");
module.exports = {
twin: {
preset: "styled-components",
config: resolve(__dirname, "tailwind.config.js"),
},
}; |
Beta Was this translation helpful? Give feedback.
0 replies
-
If so then it should be in documentation.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a monorepo and currently I need to put
tailwind.config.js
in root of my monorepo.But I want to have ability to put
tailwind.config.js
for every project in it's own location.Beta Was this translation helpful? Give feedback.
All reactions