Git Product home page Git Product logo

Comments (3)

velut avatar velut commented on July 20, 2024 1

Hi @mt-empty,

It should work with Next.js, but it seems like it doesn't starting with version 2.3.0; I'll have to look into the problem.

In the meantime, you can downgrade to version 2.2.0 and it should work; see this example https://codesandbox.io/s/serene-sid-fom5en?file=/pages/index.js

Also, remember to use the cloudflareRegistry on the client since it supports CORS.

from query-registry.

velut avatar velut commented on July 20, 2024 1

I've released version 2.5.0 with the fixed ESM export declarations.

from query-registry.

velut avatar velut commented on July 20, 2024

The problem was that the build system changed the output name from index.esm.js to query-registry.esm.js, while package.json values stayed the same.

Can you try installing prerelease version 2.5.0-0 and see if it works for you?

Thanks.

from query-registry.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.