-
-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Labels
Description
I want to use app-datepicker in a lit-element based app and I am using rollup to build my app.
The problem is that rollup does not include app-datepicker in the build even though I have import 'app-datepicker' and am using the tag in one of my templates.
When I edit app-datepicker.js to include
export { customElementsDefine, Datepicker };
and then in my code do
import { customElementsDefine, Datepicker } from "app-datepicker";
and
customElementsDefine('app-datepicker', Datepicker);
rollup picks it up.
This might be related to #181
Browsers Affected
Applies to all because the problem is already in the build step.
ham99