Closed JacobWeinbren closed 2 years ago
@umbopepato I think this is all that is needed, but I am not sure how to test this.
import {LitElement, html} from 'lit-element';
becomes import {LitElement, html} from 'lit';
Hi @JacobWeinbren and thank you for the PR 🙂
Just a note: the deprecation notice appears if you don't overwrite the importPackage
 option in your Rollup config while using lit
(see Usage with Lit 2). Anyway, since the stable version of Lit2 has been released I guess it makes sense to switch the default imported package to lit
like you're proposing.
Your changes are now live in v2.0.0
, thank you @JacobWeinbren!
This removes the deprecation warning for lit-element which shows up when using this plugin.