Skip to content

Bug: import declaration and export declarations not working #2

Description

@brion-fuller

If i have a file like

import { LitElement, html, customElement } from "lit-element";
export * from 'lit-element';
export { LitElement} from 'lit-element';
@customElement("hello-world")
export default class HelloWorld extends LitElement {
  render() {
    await import('lit-element');
    return html`<h1>Hello World</h1>`;
  }
}

Browsers support dynamic imports/named imports and exports.
In the example all the imports currently are skipped for rendering.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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