umbopepato / rollup-plugin-postcss-lit

Rollup plugin to load PostCSSed stylesheets in LitElement components
MIT License
34 stars 6 forks source link

feat: support changing the import package name #42

Closed e111077 closed 3 years ago

e111077 commented 3 years ago

This adds support to change the package name from which we import css. e.g.

litcss({importPackage: 'lit'})

will result in

import {css as cssTag} from 'lit';

NOTE: this is based on #41, so there are other files changed in the diff

umbopepato commented 3 years ago

Awesome, thank you so much @e111077! 🙌 I was considering using a different versioning branch for lit but importPackage is definitely way more practical and maintainable!

VitaliiK91 commented 3 years ago

@umbopepato could you please publish the updated version to npm with the latest PRs merged. Thanks a lot! 🙏

umbopepato commented 3 years ago

Sorry for the delay @VitaliiK91, I was having some trouble with GH Actions. Anyway, published it yesterday (1.1.0) 😊