Skip to content

Error: numWorkers is not a supported option #81

@vitalets

Description

@vitalets

Full error with stack:

[!] (plugin uglify) Error: `numWorkers` is not a supported option
DefaultsError: `numWorkers` is not a supported option
    at DefaultsError.get (eval at <anonymous> (/Users/user/projects/project1/node_modules/uglify-js/tools/node.js:18:1), <anonymous>:71:23)
    at reportError (/Users/user/projects/project1/node_modules/jest-worker/build/workers/processChild.js:107:11)
    at reportClientError (/Users/user/projects/project1/node_modules/jest-worker/build/workers/processChild.js:87:10)
    at execFunction (/Users/user/projects/project1/node_modules/jest-worker/build/workers/processChild.js:157:5)
    at execHelper (/Users/user/projects/project1/node_modules/jest-worker/build/workers/processChild.js:139:5)
    at execMethod (/Users/user/projects/project1/node_modules/jest-worker/build/workers/processChild.js:143:5)
    at process.on.request (/Users/user/projects/project1/node_modules/jest-worker/build/workers/processChild.js:64:7)
    at process.emit (events.js:198:13)

Rollup config:

rollup({
  input: "main.js",
  plugins: [
    uglify({
      numWorkers: 1
    })
  ]
});

versions:

    "rollup": "^1.27.14",
    "rollup-plugin-uglify": "^6.0.4",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions