Unverified Commit f78ebd08 authored by Elliot Scribner's avatar Elliot Scribner Committed by GitHub

Fix: changing import syntax slightly to ensure success with `create-next-app` (#28431)



Just a small change to recently merged PR; for some reason `import couchbase from 'couchbase'` is not working correctly when I use create-next-app to bootstrap with the `with-couchbase` example, despite initially working within my local next.js directory. The wildcard import fixes that issue. Thanks!

## Documentation / Examples

- [x] Make sure the linting passes
parent a143bc46
import couchbase from 'couchbase' import * as couchbase from 'couchbase'
const COUCHBASE_USER = process.env.COUCHBASE_USER const COUCHBASE_USER = process.env.COUCHBASE_USER
const COUCHBASE_PASSWORD = process.env.COUCHBASE_PASSWORD const COUCHBASE_PASSWORD = process.env.COUCHBASE_PASSWORD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment