Git Product home page Git Product logo

Comments (4)

thheller avatar thheller commented on June 14, 2024 1

Hmm yeah, I had hoped actual packages on npm don't use wildcards in exports but I guess that was foolish.

You can add :ignore-exports true to the :js-options map, so that it goes back to the old behavior for now. Guess I'll try to figure out how to handle wildcard exports.

from shadow-cljs.

thheller avatar thheller commented on June 14, 2024 1

Should be fine as of 2.24.1. I at leasted tested the known failing packages, but there might still be breaking cases.

from shadow-cljs.

dionysus98 avatar dionysus98 commented on June 14, 2024

I see. And thanks I Added that to the config, now the build worked fine.

from shadow-cljs.

p-himik avatar p-himik commented on June 14, 2024

In case it helps, it can also be reproduced with highlight.js:

[:main] Build failure:
require "./lib/languages/clojure" for package "/home/p-himik/dev/git/ensemble/node_modules/highlight.js" not exported
{:rel-require "./lib/languages/clojure", :package-dir #object[java.io.File 0x138fc05b "/home/p-himik/dev/git/ensemble/node_modules/highlight.js"], :exports {"." {"require" "./lib/index.js", "import" "./es/index.js", "types" "./types/index.d.ts"}, "./package.json" "./package.json", "./lib/common" {"require" "./lib/common.js", "import" "./es/common.js"}, "./lib/core" {"require" "./lib/core.js", "import" "./es/core.js"}, "./lib/languages/*" {"require" "./lib/languages/*.js", "import" "./es/languages/*.js"}, "./scss/*" "./scss/*", "./styles/*" "./styles/*", "./types/*" "./types/*"}}

from shadow-cljs.

Related Issues (20)

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.