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

How import in Nextjs #6

Open
juanidarragaitti opened this issue Jan 27, 2025 · 2 comments
Open

How import in Nextjs #6

juanidarragaitti opened this issue Jan 27, 2025 · 2 comments

Comments

@juanidarragaitti
Copy link

Could you please specify how to properly import the library when using it with Next.js?

@getify
Copy link
Member

getify commented Jan 27, 2025

Dunno, never used Next.js.

I guess you need to know first which bundler is being used (vite, webpack, etc), and probably need to use the included plugin for bundling.

@getify
Copy link
Member

getify commented Feb 10, 2025

It seems Next uses the webpack bundler. This package provides a webpack bundler plugin to make that work, so I would imagine it should work correctly. Check BUNDLERS.md doc for more info.

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

No branches or pull requests

2 participants