Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.
This repository was archived by the owner on Dec 5, 2019. It is now read-only.

[v1.0.0-beta.3] Broken parallel option #139

@sapegin

Description

@sapegin

{ parallel: true } work fine but { parallel: { cache: true } } throws an error:

Error: Validation Error

UglifyJs Plugin Invalid Options

options.parallel should be boolean
options.parallel should be integer
options.parallel should match exactly one schema in oneOf
]
  err: 
   [ { keyword: 'type',
       dataPath: '.parallel',
       schemaPath: '#/properties/parallel/oneOf/0/type',
       params: [Object],
       message: 'should be boolean' },
     { keyword: 'type',
       dataPath: '.parallel',
       schemaPath: '#/properties/parallel/oneOf/1/type',
       params: [Object],
       message: 'should be integer' },
     { keyword: 'oneOf',
       dataPath: '.parallel',
       schemaPath: '#/properties/parallel/oneOf',
       params: {},
       message: 'should match exactly one schema in oneOf' } ] }

I also don’t see any change log entries or even commit for this version.

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