Skip to content

[ManagedStyles.js]: Cannot use 'import.meta' outside a module #13815

Description

@gnseo

Bug Description

When I was trying to make an isolated example, got an unexpected error.

Image

And I can't make the example what I tried.
Could you have a look at the following example?

Affected Component

No response

Expected Behaviour

No response

Isolated Example

https://stackblitz.com/edit/js-wm5vexwm?file=package.json,index.html,index.js,tsconfig.json

Steps to Reproduce

...

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.24.0

Browser

Chrome

Operating System

MacOS

Additional Context

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions