-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Integration with Next.js #9349
Comments
here is a code sample: codesandbox |
@aktoriukas do you need the server side rendering from Next? I am able to get working with create-react-app but Next's build process is a bit more complex? |
@ChrisHuie it can be client or server side , it does not really matter that much for now. Can you share process that you follow integrating with React and also Next.js if you manage? I have managed integrate it by downloading generated file from prebid . |
We think this pr will fix your current issue with Next -> #9558 |
Type of issue
Set-up with Next.js
Description
Facing issue with Nextjs integration with Prebid.js. Following example from ( https://www.npmjs.com/package/prebid.js ) by extending webpack config in
next.config.js
:after this while trying to import
prebid.js
facing this error:Steps to reproduce
Fresh install of Nextjs
Test page
Expected results
Actual results
Platform details
Nextjs "12.2.2"
React "^17.0.2"
Other information
The text was updated successfully, but these errors were encountered: