Skip to content

Dojo build widget command only output the last one widget when widgets that in different folders has the same name #87

@xiaohulu

Description

@xiaohulu

bug

In https://github.com/xiaohulu/cli-build-widget-demo, there are two widgets with the same name but place at different folders, like below:

image

The two widgets are all config at .dojorc

{
	"build-widget": {
		"widgets": [
			"src/a/MyWidget.tsx",
			"src/b/MyWidget.tsx"
		]
	}
}

Then run dojo build widget --mode dist --target lib, the build result only contains output/dist/b/MyWidget.*, not contains /a/MyWidget.* files.

image

The code place at https://github.com/xiaohulu/cli-build-widget-demo.

Version: 6.0.2

Thanks!

Metadata

Metadata

Assignees

No one assigned

    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