question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After upgrade to version 3.0.0 (from 2.7.0) settings.polyfills is not respected anymore

See original GitHub issue

I have in my eslint following setting:

  settings: {
      polyfills: [
      'fetch',  // IE11
      'object-values', // IE11
      'promises' // IE11
    ],
    react: {
      version: packageJson.dependencies.react.replace('^', '')
    }
  },

When using version 2.7.0 no errors reported. After upgrade to 3.0.0:

xxx/yyy/zzz.js
  13:11  error  Promise.all() is not supported in IE 11  compat/compat

aaa/bbb/cc.js
  7:16  error  Object.values() is not supported in IE 11  compat/compat

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pkuczynskicommented, Mar 19, 2019

Confirmed it works!

0reactions
amilajackcommented, Mar 18, 2019

Also the docs need updated in README, it’s saying you CAN do this in v3 but you can’t.

Can you please elaborate on this

Read more comments on GitHub >

github_iconTop Results From Across the Web

@bb-cli/schematics - npm
This project adheres to Semantic Versioning. Upgrading to the latest version. If you project is generated from schematics v2.0.0 onward, you can always...
Read more >
Angular 2 / 4 / 5 not working in IE11 - Stack Overflow
This means that you manually have to enable the correct polyfills to get Angular working in IE11 and below. To achieve this, go...
Read more >
Composer install failed [#3157980] | Drupal.org
When I run composer command to create project, I get this error [InvalidArgumentException] Could not find package dropsolid/rocketship with ...
Read more >
formiojs/Changelog.md - UNPKG
13, - FIO-4412: fixed checkbox value not return after submission when ... 178, - Upgrade @formio/bootstrap3 to resolve builder issue with resize polyfill....
Read more >
Changelog | Meteor API Docs
waitForStepDownOnNonCommandShutdown=false is not needed anymore when ... minifier-js@2.7.0 ... Node.js updated to 14.17.3, following security release ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found