Open xiaohulu opened 4 years ago
In https://github.com/xiaohulu/cli-build-widget-demo, there are two widgets with the same name but place at different folders, like below:
The two widgets are all config at .dojorc
.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.
dojo build widget --mode dist --target lib
output/dist/b/MyWidget.*
/a/MyWidget.*
The code place at https://github.com/xiaohulu/cli-build-widget-demo.
Version: 6.0.2
Thanks!
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:
The two widgets are all config at
.dojorc
Then run
dojo build widget --mode dist --target lib
, the build result only containsoutput/dist/b/MyWidget.*
, not contains/a/MyWidget.*
files.The code place at https://github.com/xiaohulu/cli-build-widget-demo.
Version: 6.0.2
Thanks!