Skip to content

Failure to minify predicate dependency #30

@donalmurtagh

Description

@donalmurtagh

This issue was introduced when upgrading from version 0.1.16 to 0.1.17.

After upgrading to 0.1.17, I get this issue when I run npm run build

Failed to minify the code from this file: 
 	./node_modules/predicate/lib/utils.js:7 

The line in question is

  curried.toString = () => src.toString();

Presumably, this fails to minify because it's using an ES6 feature (an arrow function). This is related to issue #23

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions