Giter VIP home page Giter VIP logo

Comments (4)

nicolo-ribaudo avatar nicolo-ribaudo commented on May 18, 2024 2

All your targets support class fields, so Babel is not compiling them. Then, you are using an old version of webpack that throws when it sees class fields. I suggest either updating webpack, or changing your targets to that Babel compiles class fields.

I'd like to support using webpack as a target to compute which features to compile in the future, but we don't support it yet: #14963

from babel.

babel-bot avatar babel-bot commented on May 18, 2024

Hey @arasmussen! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite.

from babel.

arasmussen avatar arasmussen commented on May 18, 2024

Even if I tighten the .browserslistrc all the way to just chrome > 120 the issue still happens.

from babel.

arasmussen avatar arasmussen commented on May 18, 2024

So helpful, thank you @nicolo-ribaudo! Going to close this out.

from babel.

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.