Giter VIP home page Giter VIP logo

Comments (9)

rwjblue avatar rwjblue commented on August 25, 2024 6

This seemed to crop up again when running Babel 7.10.0+ (released 2020-05-25). I'm looking into fixing (based on my last comment).

from babel-plugin-ember-modules-api-polyfill.

rwjblue avatar rwjblue commented on August 25, 2024 3

[email protected] was just released, and should fix the underlying issue.

https://github.com/babel/ember-cli-babel/releases/tag/v7.20.1

from babel-plugin-ember-modules-api-polyfill.

rwjblue avatar rwjblue commented on August 25, 2024 2

The fix for this is basically the same as what was done in ember-data/babel-plugin-ember-data-packages-polyfill#3

from babel-plugin-ember-modules-api-polyfill.

lukemelia avatar lukemelia commented on August 25, 2024

I have seen this as well. It is a tortuous experience.

from babel-plugin-ember-modules-api-polyfill.

Leooo avatar Leooo commented on August 25, 2024

Same here. A massively tricky one to debug. Without @rwjblue 's help we could never have.

For now we reverted to using

/* eslint-env node */
module.exports = {
  browsers: [
    'ie 9',
    'last 1 Chrome versions',
    'last 1 Firefox versions',
    'last 1 Safari versions'
  ]
};

in our config/target.js

from

/* eslint-env node */
module.exports = {
  browsers: [
    'last 1 version',
    '> 2% in GB'
  ]
};

but obviously not ideal so happy to follow the resolution on this.

from babel-plugin-ember-modules-api-polyfill.

raido avatar raido commented on August 25, 2024

I recently ran into same thing and @rwjblue pointed me here.

Reference issue I opened over here:

emberjs/ember-cli-babel#316

from babel-plugin-ember-modules-api-polyfill.

raido avatar raido commented on August 25, 2024

@rwjblue any hope of this getting some attention?

I tried to debug to some extent it by linking this package locally, but did not manage to find where exactly transformations break.

from babel-plugin-ember-modules-api-polyfill.

runspired avatar runspired commented on August 25, 2024

@rwjblue I have time this afternoon if needed to supply a fix

from babel-plugin-ember-modules-api-polyfill.

rwjblue avatar rwjblue commented on August 25, 2024

Thanks @runspired, definitely will appreciate the help (either in reviews or impl).

After a bunch of general repo cleanup, I've reproduced the failures being reported in #108.

from babel-plugin-ember-modules-api-polyfill.

Related Issues (13)

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.