Giter Club home page Giter Club logo

Comments (9)

mfila avatar mfila commented on July 3, 2024 2

I've tried to upgrade the plugin to babel 7. Tests still pass. See https://github.com/mfila/babel-plugin-tailcall-optimization/tree/babel7.

All it takes has been:

  1. removing old packages
  2. installing new ones (replacing babel-preset-es2015 with babel-preset-env, and moving babel-core from peerDependencies to devDependencies)
  3. upgrading to @babel namespace in a couple of places

from babel-plugin-tailcall-optimization.

xtuc avatar xtuc commented on July 3, 2024 1

@mfila, yeah thanks that looks good!

from babel-plugin-tailcall-optimization.

xtuc avatar xtuc commented on July 3, 2024

Please let me know of I can help with something about that.

from babel-plugin-tailcall-optimization.

krzkaczor avatar krzkaczor commented on July 3, 2024

@xtuc is there a nice migration guide somewhere? or could you point me to another not-so-complicated plugin that start supporting babel@7 so i can take a closer look at diff? Thanks :)

from babel-plugin-tailcall-optimization.

xtuc avatar xtuc commented on July 3, 2024

We have http://babeljs.io/blog/2017/03/01/upgrade-to-babel-7-for-tool-authors but it's not really up-to-date.

I would suggest you using https://github.com/babel/babel-upgrade.

from babel-plugin-tailcall-optimization.

krzkaczor avatar krzkaczor commented on July 3, 2024

@mfila shieeet, nice :D Do you want to make a PR? to alternative branch like next? I can get this published.

from babel-plugin-tailcall-optimization.

mfila avatar mfila commented on July 3, 2024

@krzkaczor yes... an alternative branch would be great, thanks!

from babel-plugin-tailcall-optimization.

mfila avatar mfila commented on July 3, 2024

I've updated my branch to use Babel 7 beta.56 before making the PR

from babel-plugin-tailcall-optimization.

krzkaczor avatar krzkaczor commented on July 3, 2024

@mfila thanks so much for your contribution!

from babel-plugin-tailcall-optimization.

Related Issues (15)

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.