Skip to content

Styles build fails when using polyfill for Array #181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zwug opened this issue Oct 2, 2017 · 1 comment
Closed

Styles build fails when using polyfill for Array #181

zwug opened this issue Oct 2, 2017 · 1 comment

Comments

@zwug
Copy link

zwug commented Oct 2, 2017

I have a polyfill for Array.includes from webpack-dev-server:

if (!Array.prototype.includes) {
  Array.prototype.includes = require('array-includes');
}

And my webpack build fails here because the property 'includes' is enumerable. I can make a pull request and replace for ... in loop with regular for(;;)

@alexander-akait
Copy link
Member

Out of scope stylus-loader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants