-
We use a monorepo for our serverless projects, and its basic structure looks like this:
Make note of the Within each service's handler function, we often reach into the Since the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The easiest way is to just let esbuild resolve the shared folder (eg. ../../shared/commonUtils.js and to not use the Serverless package patterns? Doesn't your IDE complain that it cannot find the path too? You could possibly make use of tsconfig.json paths if you're using typescript |
Beta Was this translation helpful? Give feedback.
The easiest way is to just let esbuild resolve the shared folder (eg. ../../shared/commonUtils.js and to not use the Serverless package patterns? Doesn't your IDE complain that it cannot find the path too? You could possibly make use of tsconfig.json paths if you're using typescript