Closed xiaohulu closed 4 years ago
@xiaohulu Thanks for the issue, I had noticed this before but wasn't sure what the cause was (thought it was something related to me as widgets built correctly). But yeah it seems building a single widget causes the d.ts
file to be placed in the root unfortunately. Will work on a fix for this. Thanks.
I have a dojo project which has one widget
then run
dojo build widget --mode dist --target lib
, the generate files arethen I import the
Page
in another project, throw errors.the
index.d.ts
should be in page folder, not in the root folder.Note:If has two widgets, the output is right