Giter Site home page Giter Site logo

Comments (5)

loganfsmyth avatar loganfsmyth commented on May 22, 2024

It's a tough one to solve since Babel doesn't currently provide a way to do this easily. It is something I'm keeping in mind for the future though. For now, I'd hope that by the time the file is gzipped, the difference in size wouldn't be super noticeable.

from babel-plugin-transform-decorators-legacy.

loganfsmyth avatar loganfsmyth commented on May 22, 2024

We're planning to move this into Babel as babel-plugin-transform-decorators in Babel 7.x, which will mean this code will end up in babel-runtime like the other code Babel stuff, so closing this.

from babel-plugin-transform-decorators-legacy.

jharris4 avatar jharris4 commented on May 22, 2024

Just noticed the duplication of the code myself. Any word on babel-plugin-transform-decorators in Babel 7.x?

from babel-plugin-transform-decorators-legacy.

jharris4 avatar jharris4 commented on May 22, 2024

Looks like it might actually be a part of Babel 7 now?

https://www.npmjs.com/package/babel-plugin-transform-decorators

https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-decorators

I guess we could switch to that if we're willing to move to Babel 7?

from babel-plugin-transform-decorators-legacy.

blikblum avatar blikblum commented on May 22, 2024

Hi,

@loganfsmyth

I noticed that babel-plugin-proposal-decorators migrated the helpers to babel-helpers in babel/babel#7017

Any chance this can be done to the legacy also?

from babel-plugin-transform-decorators-legacy.

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.