Coder Social home page Coder Social logo

Comments (2)

davidje13 avatar davidje13 commented on June 7, 2024

As part of adding SVG support just now, I changed the rollup config to build CommonJS rather than UMD, which should be more compatible with ES6 imports, so you might find this is no longer a problem in 1.3.0 (at least in NodeJS it tends to auto-detect it correctly, and I imagine webpack etc. will also figure it out with the same approach).

This does mean the library has dropped ASM and globals support, which I'm not sure about, but I think they're not widely used these days.

If you still see the issue let me know and I'll look at providing separate CommonJS and ES6 imports (or perhaps UMD and ES6 for widest compatibility).

from lean-qr.

davidje13 avatar davidje13 commented on June 7, 2024

Since I haven't heard back I'm going to assume this has been fixed for you in 1.3.0 and close this issue, but if you're still having trouble please feel free to re-open.

from lean-qr.

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.