resolveConfig -> Module not found: Can't resolve 'process' #8480
Replies: 2 comments 2 replies
-
Hey! Could you provide a reproduction repo by chance? Or at the very least all of the requires/imports used in your tailwind.config.js file? I'm looking at the stacktrace and I'm quite confused as to how/why |
Beta Was this translation helpful? Give feedback.
-
Hello @thecrypticace ! We do use require in tailwind config
Do you think this is the problem? How should we address this? |
Beta Was this translation helpful? Give feedback.
-
What version of Tailwind CSS are you using?
3.0.23
What build tool (or framework if it abstracts the build tool) are you using?
For example: Next.js 12.1.0
What version of Node.js are you using?
For example: v16.8.0
What browser are you using?
For example: Chrome
What operating system are you using?
For example: macOS
Describe your issue
I'm trying to access to my Tailwind colors using
resolveConfig
This is the helper
getTailwindTheme
that I've created:I get the following error:
My nextjs webpack configuration:
Beta Was this translation helpful? Give feedback.
All reactions