Skip to content

Breaks on IE 11 because of array.find method #44

@myleshyson

Description

@myleshyson

This package breaks on IE 11 because of the array.find method. I added a polyfill to my site to make it work, but I think you can either add that to the documentation or polyfill it in the package itself.

I think for example the problem lies in snippets like this.

const validUnits = ['px', '%'];
const isValidUnit = validUnits.find(unit => unit === out.unit);

I'm using version 1.3.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions