Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xiaohulu opened this issue Jan 10, 2020 · 0 comments

Comments

@xiaohulu
Copy link

xiaohulu commented Jan 10, 2020

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!

@xiaohulu xiaohulu changed the title When widgets that in different folders has the same name, dojo build widget command only output the last one widget Dojo build widget command only output the last one widget when widgets that in different folders has the same name Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant