Git Product home page Git Product logo

Comments (2)

kdy1 avatar kdy1 commented on July 17, 2024

Please provide a minimal reproduction.
I can't repro with your repository, and if you know the first version that breaks, it would also help

from swc.

djalbat avatar djalbat commented on July 17, 2024

My sincere apologies, this is my oversight.

I fixed the problem after opening this issue by pinning the @swc/core version to one I knew that worked, specifically 1.2.50. I then committed this change so this is the one you would have tried.

I have just tried to replicate the bug by cloning the repository again and doing the following:

npm install @swc/core@latest

However I now cannot replicate it either.

I also stupidly did not supply you with the exact SWC version when I opened this issue. Not the one in the package.json file but the actual one that got installed when I ran npm install. So now I guess we are stuck.

I did not imagine the bug, however. It seemed to be a case of SWC not reading the configuration file, or at least not reading it properly, because it was not compiling the JSX.

I will leave the issue closed. It is up to you if you want to pursue this any further. In a meantime I have pinned the version in all of my repositories, around fifty in all:

"@swc/core": "1.2.50"

At some later date I will un-pin it again and if the bug resurfaces then I will let you know.

from swc.

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.