Skip to content

Newer ECMAScript is not supported by Launch #75

@yuhui

Description

@yuhui

In my Web Vitals extension, I bundle the JS library for ease of implementation by users. However, when I bundle the latest Web Vitals JS library v5.1.0 (available at https://unpkg.com/web-vitals@5/dist/web-vitals.attribution.iife.js), then I get the below error when uploading my extension:

Error: Extension package processing failed. 
id:     c8eae0ef-90df-4d4f-8f55-8b2d4b1b39e7
code:   unsupported-ecma-version
meta: 
  request_id: ZQ15UWG9mSFmOTldGkDP7Fl4acFSLLX9
title:  Unsupported ECMA Version
detail: Code using an unsupported ECMAScript version was detected
source: 
    at requestStatus (/path/to/extension/node_modules/@adobe/reactor-uploader/bin/monitorStatus.js:62:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async /path/to/extension/node_modules/@adobe/reactor-uploader/bin/index.js:105:5

Node.js v24.13.0

I don't get this error when I bundle the Web Vitals JS library v4.2.4.

This issue is not critical to my extension's operations, but would be good if Launch could support newer versions of ECMAScript.

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