Skip to content

Minification failed with error #890

@pg-ey

Description

@pg-ey

Expected Behavior

Build successful with minification

Current Behavior

Error Message:
Minification failed with error: 'return' outside of function in file get-own-property-symbols.js (line 11, col 1, pos 255)

Steps to Reproduce the Issue

1.- name: ui5-task-minifier
afterTask: minify
configuration:
html: true
css: true
json: true

Context

  • UI5 Module Version (output of ui5 --version when using the CLI): 3.6.0
  • Node.js Version: 18.14.2
  • npm Version: 9.5.2
  • OS/Platform: Windows 10
  • Browser (if relevant): Chrome

Log Output / Stack Trace

Error: Minification failed with error: 'return' outside of function in file get-own-property-symbols.js (line 11, col 1, pos 255)
at AsyncFunction.execMinification (file:///home/user/projects/bre-v3/app/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/processors/minifierWorker.js:63:9)

Metadata

Metadata

Assignees

No one assigned

    Labels

    help providedConsulting given or question answered

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions