Skip to content

app-datepicker not included by rollup #184

@nicolasr75

Description

@nicolasr75

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions