-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin does not work from nextjs v14.1.2 and onwards #4
Comments
I did not reproduce this issue in my repo used nextjsv14.1.4. Please provide your code to better reproduce the issue. |
In your provided repo you don't have any swcPlugins defined. This is how we use the plugin: |
I can start success in my repo with antd. I think it's probably an issue with the directory structure of your component library. The export directory structure of antd is as follows: |
Hey, this no longer works with next 14.2.0, any chance of a fix for this? |
I get it. What is your OS version useing. |
I fixed it. You can update |
Hi it's me again. I'm trying to up our Nextjs version from 14.1.1 to to lastest (14.2.6). Steps I took:
Below is what it looks like:
Where does it go wrong? Please help, we can't seem to find the source of the problem. Thanks! |
@arnoBruynseels You can try these two ways.
|
Thanks, I will try this and keep you posted! |
The plugin works perfectly on nextjs v14.1.1 but once you install nextjs v14.1.2 everything breaks.
Nextjs complains that I need to use the 'use client' directive for the external component library I added to the plugin config.
Any fixes?
The text was updated successfully, but these errors were encountered: