How to access a parameter passed from Next.js configuration inside a SWC compiler plugin? #7491
Unanswered
romanusname
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on a plugin for the SWC compiler and I'm trying to pass a parameter from the Next.js configuration to the plugin. However, I'm having trouble accessing this parameter within the plugin. I've been trying to find a solution for a long time, but I haven't been successful so far.
Here's how I'm passing the parameter in the Next.js configuration:
Could someone please guide me on how to retrieve this parameter inside the plugin? Any help would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions