Skip to content
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

Nextjs css import fix #96

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kayvaninvemo
Copy link

In NextJS if the library imports a css, the build fails. So it is better to let the user to import the css. As this is a breaking change, we need to change a major version.

Copy link

@ChanderShekharKestone ChanderShekharKestone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

How to reslove inmy next js app.

@kayvaninvemo
Copy link
Author

image

How to reslove inmy next js app.

We are waiting for the PR to be merged and published. Meanwhile you can check this one https://github.com/kayvaninvemo/pannellum-react/tree/master

@MauriceMorrey
Copy link

Any idea when this will be merged?

@aman-technyx
Copy link

image
How to reslove inmy next js app.

We are waiting for the PR to be merged and published. Meanwhile you can check this one https://github.com/kayvaninvemo/pannellum-react/tree/master

GETTING ERROR
windows is undefined

after creating a patch getting so much error

next's 12
react 18

@kayvaninvemo
Copy link
Author

This is working on one of our production env. And I could not find the error. With React 17 and Nextjs 12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants