Skip to content

Consuming from Typescript #18

@CaptainCodeman

Description

@CaptainCodeman

I had a few issues when trying to consume it from a project using Typescript so I've created a build using rollup that includes the types as well as generating different packages for consuming as:

  • Node CommonJS
  • Node ES Modules
  • Browser UMD
  • Browser UMD Minified

Only tested the TS one so far, I'll send a PR when I've tried the others if you're interested in this approach.

https://github.com/CaptainCodeman/lit-element/tree/rollup-build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions