Skip to content

release-3.6.2 - unable to bundle WidgetSettings and WidgetSettingsComponent #61

@skewty

Description

@skewty

Unable to bundle WidgetSettings

import { WidgetSettings, WidgetSettingsComponent } from "@shared/models/widget.models";`

causes this:

[INFO] WARNING: "@shared/models/widget.models" is imported by "dist/widget-extension/esm2020/dashboard/gateway-config-settings/gateway-config-settings.component.mjs", but could not be resolved – treating it as an external dependency.

which then makes the final bundle broken / unusable.

Is there another way to import those classes?

I was trying to make some nice custom settings as done in:
widget/lib/settings/alarm/alarm-count-widget-settings.component.ts

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions