🐛 filenames like component.utils.ts
are not resolved properly and breaks build
#346
Labels
component.utils.ts
are not resolved properly and breaks build
#346
What is this
🐛
bug report
File names that include a
.
to separate words, other than the file-extension itself, are not being resolved properly and as a result, the build process exits with a thrown error... since the file name it resolved to, doesn't export (in this case) the expected "utility" functions.In the above error snippet, of course
src/component.tsx
doesn't exportsortNodes
.sortNodes
utility function lives insidesrc/component.utils.ts
and is imported into the actual component e.g.Potential root cause
I think this #345. Looks like the logic in this PR doesn't consider that file names can include multiple instances of
.
Hope this is clear enough. Let me know if I can be of more help here 👍
The text was updated successfully, but these errors were encountered: