Git Product home page Git Product logo

Comments (4)

gandm avatar gandm commented on May 21, 2024

.babelrc files aren't ignored. babel-core still reads them as you would expect. The internal scanner was dropped in v0.8.0 for other reasons.

The example you gave above is working - the .babelrc file is read and no transpile is taking place but I'm not responding correctly. This is a bug and I will fix now.

There is an easier way to do what you want. just turn on the Disable When No Babelrc In Path option in the language-babel settings. You don't need any .babelrc file at all then.

from language-babel.

alex3683 avatar alex3683 commented on May 21, 2024

Ah, okay. Seems I just don't know enough about babel-core :-) Thanks for finding and fixing the real issue.

The Disable When No Babelrc In Path option is not really suitable in my case, as some es6 and plain js sources are mixed within my project (one can argue, whether this is a good idea or not, but that's the way it is ;-))

from language-babel.

gandm avatar gandm commented on May 21, 2024

Hope that works.

from language-babel.

alex3683 avatar alex3683 commented on May 21, 2024

Indeed, it does. Thanks!

from language-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.