Skip to content

Bundler's babel has an issue with ES2019 class #Identifier Β #1099

Open
@mrtipsytony

Description

@mrtipsytony

πŸ‘€ Please check the troubleshooting guide before reporting anything. It contains important information on how to fix or diagnose errors.

Issue type (mark with x)

  • πŸ€” Question
  • πŸ› Bug report
  • 🎁 Feature request
  • πŸ€·β€β™€οΈ Other

Version (mark with x)

  • 3️⃣ v3.x
  • 2️⃣ v2.x

Description

Does the bundler support ES2019 "#identifer" in classes? We have a npm dependency package that the bundler cannot read.
image

I can only show the snippet for now and here it is:
image

The package is a web component ESM package and is imported as a side effect (e.g. import 'sample') to apply the shadow root to the markup.

Desired behavior:
Bundler's babel to read es2019 class syntax

Current behavior:
Bundler's Babel seems to have an issue with the files that has "#identifier"

Repro instructions (if applicable):
Cannot disclose it but it's similar to this one: #565

Other information (environment, versions etc):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions