Sean Matheson
11/19/2021, 7:30 AM|-- backend
| |- lambdas
| | |- foo.ts (contains: import { isNullOrEmpty } from '@my/lib/strings';)
| |- package.json
|- lib
|- strings.ts
|- package.json (name: "@my/lib")
I am guessing it is looking for a strings.js
file rather than a strings.ts
file.
Error: Cannot find module '@my/lib/strings'
Sean Matheson
11/19/2021, 7:40 AMSean Matheson
11/19/2021, 8:31 AMSean Matheson
11/19/2021, 8:34 AMSean Matheson
11/19/2021, 8:34 AMSean Matheson
11/19/2021, 9:28 AMbackend
folder. I changed it to the root of the project. This seems to have increased the scope, allowing ESBuild to do it's magic. Lovely.Frank
Frank